ziggy46802
Active Member
- Joined
- Aug 19, 2012
- Messages
- 418
- Reaction score
- 27
I have, in my login.lua file, this script
But I get no errors upon logging in, but nothing at all happens. I get no message or no error in my console or anything. Can somebody please help me out to have a greeting message upon the first time visit to my server?
NEVERMIND i just saw that I put it as GREATER than 100, such a stupid mistake.
Code:
--Gretting at first time visit
if getPlayerStorageValue(cid , 1100) > 10
then setPlayerStorageValue(cid, 1100, 1)
doPlayerSendTextMessage(cid, 1, 'Take a look around the city. Find the mayor to find out what quests are available. You might also want to buy a weapon an some equipment, including a rope.')
end
But I get no errors upon logging in, but nothing at all happens. I get no message or no error in my console or anything. Can somebody please help me out to have a greeting message upon the first time visit to my server?
NEVERMIND i just saw that I put it as GREATER than 100, such a stupid mistake.