27.02.2010, 18:23
alright heres a little example of the timer, you have to tweak it abit to make it perfectly fit in your GM.
then somewhere in your GM:
Код:
at the OnPlayerEnterCheckPoint { SetPlayerPos(playerid, X, Y, Z); SetPlayerFacingAngle(playerid, A); TogglePlayerControllable(playerid, 1); SetTimerEx("UnfreezeTimer", 3000, 0, "i", playerid); return 1; }
Код:
forward UnfreezeTimer(playerid);
Код:
public UnfreezeTimer(playerid) { TogglePlayerControllable(playerid, 0); return 1; }