Help needed with this.
#1

Hello i made a small filter script (this isn't all of it), it spawns and unfreezes the first person on the server but the others stay frozen.

Script:
forward objectsload();

public OnPlayerSpawn(playerid)
{
TogglePlayerControllable(playerid, 0);
SetTimer("objectsload", 3000, 0);
SendClientMessage(playerid,COLOR_WHITE,"Your frozen for 3 seconds, Loading Objects...");
return 1;
}

public objectsload()
{
new playerid;
TogglePlayerControllable(playerid, 1);
return 1;
}


(parts of filterscript, thats all i need to show)

Any ideas?

thanks
Reply
#2

Try using SetTimerEx.
Reply
#3

Thanks worked
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)