SA-MP Forums Archive
Freeze Code - 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)
+--- Thread: Freeze Code (/showthread.php?tid=376231)



Freeze Code - Jermi - 09.09.2012

Please tell me the Freeze Code, The Freeze and unfreeze, Thanks. But not the command, Like "FreezePlayer(playerid);"


Re: Freeze Code - Guitar - 09.09.2012

Do you want to Freeze all the players or just like

/freeze PLAYER like /freeze 5 for example?


Re: Freeze Code - antonio112 - 09.09.2012

Are you looking for this?

pawn Код:
TogglePlayerControllable(playerid,false); // To freeze the player

TogglePlayerControllable(playerid,true); // To unfreeze the player
I can't really understand your question.


Re: Freeze Code - AaronKillz - 09.09.2012

TogglePlayerControllable(id, 1);
TogglePlayerControllable(id, 0);