[HELP]How to fix checkpoints
#5

alright heres a little example of the timer, you have to tweak it abit to make it perfectly fit 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;
}
then somewhere in your GM:
Код:
forward UnfreezeTimer(playerid);
Код:
public UnfreezeTimer(playerid)
{
	TogglePlayerControllable(playerid, 0);
	return 1;
}
Reply


Messages In This Thread
[HELP]How to fix checkpoints - by ruckfules99 - 27.02.2010, 03:57
Re: How to fix checkpoints - by Babul - 27.02.2010, 07:01
Re: How to fix checkpoints - by ruckfules99 - 27.02.2010, 15:22
Re: How to fix checkpoints - by ruckfules99 - 27.02.2010, 17:16
Re: [HELP]How to fix checkpoints - by notime - 27.02.2010, 18:23

Forum Jump:


Users browsing this thread: 1 Guest(s)