unfreeze timer help - 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: unfreeze timer help (
/showthread.php?tid=80758)
unfreeze timer help -
heyyyy - 06.06.2009
how can i make an unfreeze timer ... 9i made it freeze .. like when u tele to some where it freezes u for 2 secs to objects to load but after 2 secs it isnt unfreezing me pls help
Re: unfreeze timer help -
Gappy - 06.06.2009
pawn Код:
forward Unfreeze(playerid);
//Unfreeze's the player
public Unfreeze(playerid)
{
TogglePlayerControllable(playerid, 1);
}
//For the teleports you want to freeze the player add this
TogglePlayerControllable(playerid, 0);
SetTimerEx("Unfreeze", 2000, 0, "i", playerid);
It should work