09.01.2011, 07:08
In OnPlayerConnect, use this:
You need to use SetTimerEx to pass the playerid variable to the timer, or it'll send as 0 to the playerid variable. You also might want to change the timer time, 300 is in milliseconds, if you want to keep it that way, you're better off just putting the client messages directly in OnPlayerConnect.
pawn Код:
SetTimerEx("WelcomeMessage", 300, false, "i", playerid);