[Need Help]Freeze Player to load interior - 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: [Need Help]Freeze Player to load interior (
/showthread.php?tid=444915)
[Need Help]Freeze Player to load interior -
5002 - 18.06.2013
first of all
i search about my question and find a few topic but
they dont was enough to help me
i have interior and area for use code
code /enter
area interior
but when i spawn at interior fall down from sky
and i think it can be fixed with freeze time
what code must use? and where?
under my command?
Re: [Need Help]Freeze Player to load interior -
park4bmx - 18.06.2013
pawn Код:
new pTimer[MAX_PLAYERS];
stock FreezeMe(playerid,TIME)
{
if(pTimer[playerid] != -1) return 0;//stop it if the function is running already
pTimer[playerid] = SetTimerEx("unfreeze", TIME, false, "i", playerid);
TogglePlayerControllable(playerid,0);
return 1;
}
forward unfreeze(playerid);
public unfreeze(playerid)
{
TogglePlayerControllable(playerid,1);
}
Re: [Need Help]Freeze Player to load interior -
5002 - 18.06.2013
where must used?