Freezing when on a teleport
#2

Easy. Use a timer.

Example:
pawn Код:
//After the includes
forward FreezeTimer(playerid);

//When they teleport
TogglePlayerControllable(playerid,0);
SetTimerEx("FreezeTimer",3000,0,"d",playerid);

//When The Timer Stops
public FreezeTimer(playerid)
{
  TogglePlayerControllable(playerid,1);
  return 1;
}
Reply


Messages In This Thread
Freezing when on a teleport - by Stunterz - 19.09.2009, 20:07
Re: Freezing when on a teleport - by Badger(new) - 19.09.2009, 20:09
Re: Freezing when on a teleport - by Stunterz - 19.09.2009, 20:19
Re: Freezing when on a teleport - by Badger(new) - 19.09.2009, 20:27
Re: Freezing when on a teleport - by Stunterz - 19.09.2009, 20:31
Re: Freezing when on a teleport - by Badger(new) - 19.09.2009, 20:43
Re: Freezing when on a teleport - by Stunterz - 19.09.2009, 20:45

Forum Jump:


Users browsing this thread: 1 Guest(s)