spawn timer - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: spawn timer (
/showthread.php?tid=81413)
spawn timer -
Mowgli - 10.06.2009
how do i do a time that freezes you on spawn for 2 seconds, but then unfreezes you?
Re: spawn timer -
miokie - 10.06.2009
OnPlayerSpawn:
pawn Код:
TogglePlayerControllable(playerid,0);
SetTimerEx("SpawnUnfreeze",2000,0,"d",playerid);
Anywhere:
pawn Код:
public SpawnUnfreeze(playerid)
{
TogglePlayerControllable(playerid,1);
return 1;
}