OnPlayerConnect - Message to all
#2

In OnPlayerConnect, use this:

pawn Код:
SetTimerEx("WelcomeMessage", 300, false, "i", playerid);
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.
Reply


Messages In This Thread
OnPlayerConnect - Message to all - by Ihsan-Cingisiz - 09.01.2011, 06:47
Re: OnPlayerConnect - Message to all - by Calgon - 09.01.2011, 07:08

Forum Jump:


Users browsing this thread: 1 Guest(s)