SA-MP Forums Archive
Freeze a player - 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: Freeze a player (/showthread.php?tid=277110)



Freeze a player - Compton - 16.08.2011

Hello people, I have a problem, I have a own mapped interior in a random position, and I made it enterable, but one problem, when you enter you fall down though the textures and die, So im wondering if someone can help me with Freezing a player after he wrote /enter for 5 seconds. so the Objects will have some time to appear

-Thank you.

Here is the /enter command:

Код:
if(IsPlayerInRangeOfPoint(playerid, 3.0, 2753.8364,-2018.4203,13.5547))
	{
	SetPlayerPos(playerid,330.5930,1710.3168,991.4312);
	SetPlayerInterior(playerid,15);
	}



Re: Freeze a player - Kingunit - 16.08.2011

Create a timer, and unfreeze the player after 5seconds.


Re: Freeze a player - Darnell - 16.08.2011

Try using a timer & TogglePlayerControllable.