11.08.2018, 19:10
So, what im trying to do is to set a timer of 5 seconds when a player connects, instead of showing him instantly class selection/any sort of things connected. I did in this way:
OnPlayerConnect:
And the ProcessPlayer, after 5 seconds, processes everything (welcome messages, login/register dialog and so on).
The problem is: Doesn't work. I still get normal connect without waiting.
Why?
OnPlayerConnect:
pawn Код:
SendClientMessage(playerid, -1, ""GREEN"Please wait...estabilishing connection with "SERVER_NAME"");
SetTimerEx("ProcessPlayer", 5000, false, "i", playerid);
The problem is: Doesn't work. I still get normal connect without waiting.
Why?