unfreeze timer help
#1

how can i make an unfreeze timer ... 9i made it freeze .. like when u tele to some where it freezes u for 2 secs to objects to load but after 2 secs it isnt unfreezing me pls help
Reply
#2

pawn Код:
forward Unfreeze(playerid);

//Unfreeze's the player
public Unfreeze(playerid)
{
    TogglePlayerControllable(playerid, 1);
}


//For the teleports you want to freeze the player add this
TogglePlayerControllable(playerid, 0);
SetTimerEx("Unfreeze", 2000, 0, "i", playerid);
It should work
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)