02.06.2013, 03:03
pawn Code:
public OnPlayerInteriorChange(playerid, newinteriorid, oldinteriorid)
{
if(newinteriorid != 0)
{
TogglePlayerControllable(playerid, false);
SetTimerEx("HoldInteriorChange", 3000, false, "d", playerid);
GameTextForPlayer(playerid, "~w~Loading interior... please wait!", 3000, 3);
}
return 1;
}
forward HoldInteriorChange(playerid);
public HoldInteriorChange(playerid)
{
TogglePlayerControllable(playerid, true);
return 1;
}