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



Freeze help - Sellize - 21.01.2013

I got my cmd /freeze working but how do i make it so that whenever someones Info[ID][isFrozen] equals 1 it will freeze him?


Re: Freeze help - azzerking - 21.01.2013

Add this under your command
pawn Код:
SetPlayerControllable(playerid, false);
-- EDIT --
Wooops, wrong command. Sorry i said it in my head and then when i wrote it came out wrong, lol. My Mistake

But yes its Meant to be TogglePlayerControllable(playerid, false);




Re: Freeze help - DaRk_RaiN - 21.01.2013

TogglePlayerControllable