SA-MP Forums Archive
Completely FROZEN. - 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: Completely FROZEN. (/showthread.php?tid=121214)



Completely FROZEN. - Perker12345 - 16.01.2010

Everytime i create a script with
Код:
	TogglePlayerControllable(playerid, 0);
People are still able to move if they like.. Press F or hit in the air,
this is my complete lines
Код:
 
	TogglePlayerControllable(playerid, 0);
	ApplyAnimation(playerid, "CRACK", "crckdeth2", 4.0, 0, 1, 1, 1, 0);
	SetTimerEx("Unfreeze", 13000, false, "i", playerid);
Could anybody actually help me with making them totally unmoveable, there are several ways they can get out of this..
its the same problem with my other script that /cracks players when they have 5 hp. they can just bugout and continue running, i would like to know how to make this impossible, any ideas ?

// Edit..
Hehe now when i created the topic could anybody help me with a simple thing?
Is this possible #define oneshotsniper COUNTRY_RIFLE
so i can use it longer down the script as it will be a gun with higher damage, and the normal country_rifle will just be normal.
(Sorry if that was hard to understand, I'm bad at explaining)