06.06.2009, 08:04
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


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);