spawn timer
#1

how do i do a time that freezes you on spawn for 2 seconds, but then unfreezes you?
Reply
#2

OnPlayerSpawn:
pawn Код:
TogglePlayerControllable(playerid,0);
SetTimerEx("SpawnUnfreeze",2000,0,"d",playerid);
Anywhere:
pawn Код:
public SpawnUnfreeze(playerid)
{
   TogglePlayerControllable(playerid,1);
   return 1;
}

Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)