Freez script, pleas - 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: Freez script, pleas (
/showthread.php?tid=88596)
Freez script, pleas -
Vadonis - 27.07.2009
Hi! i want to know its possible or not to make
"Player Freez" I need to freez player to ~about 5 seconds i air,because my objects load to slow and every bodey fall in water. I use xObjects and i try to set
Draw distance ,to 200 but it dosn't help me. And the freezer i need for "server start" where player spawns.
Somebodey pleas help me
Re: Freez script, pleas -
MadeMan - 27.07.2009
pawn Код:
forward UnFreeze(playerid);
public OnPlayerSpawn(playerid)
{
TogglePlayerControllable(playerid, 0);
SetTimerEx("UnFreeze", 5000, false, "i", playerid);
return 1;
}
public UnFreeze(playerid)
{
TogglePlayerControllable(playerid, 1);
}
Re: Freez script, pleas -
Vadonis - 27.07.2009
Big thank you 
it works

,but i hawe one question , its posible to make cars like this ? because im freez whan world loads,but cars fall in to water.
Re: Freez script, pleas -
MadeMan - 27.07.2009
Maybe make the cars Z coordinates bigger, so they take more time falling and objects can load?
Re: Freez script, pleas -
Vadonis - 27.07.2009
o
thanks man