SA-MP Forums Archive
[CODE] admin Freeze command - help please - 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: [CODE] admin Freeze command - help please (/showthread.php?tid=331892)



[CODE] admin Freeze command - help please - squomp - 06.04.2012

How would I make an admin command that freezes the player using dcmd.


Re: [CODE] admin Freeze command - help please - Cjgogo - 06.04.2012

Use TogglePlayerControllable function(0-freeze,1-unfreeze),and,there is something really new out there on the internet,Wikipedia,I've tested it,and it's really cool


Re: [CODE] admin Freeze command - help please - Rob_Maate - 06.04.2012

Again, as I replied to your other thread - You NEED to post in the correct section. Go find the 'script request' thread.

As the poster said above, use TogglePlayerControllable. Past that you need to work out how to script before attempting to create a gamemode.


Re: [CODE] admin Freeze command - help please - squomp - 06.04.2012

again Im not looking for script, I was just looking for a tutorial/help


Re: [CODE] admin Freeze command - help please - Rob_Maate - 06.04.2012

http://wiki.sa-mp.com