[Need Help]Freeze Player to load interior
#1

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?
Reply
#2

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);
}
Reply
#3

where must used?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)