When a player leaves a checkpoint - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: When a player leaves a checkpoint (
/showthread.php?tid=266688)
When a player leaves a checkpoint -
Vero - 05.07.2011
So i was wondering how to script that when the player leaves the checkpoint it cancels the timer but I don't exactly know how. Any pointers?
Re: When a player leaves a checkpoint -
Vince - 05.07.2011
pawn Code:
// Somewhere in your script
TimerName = SetTimer(...);
// OnPlayerLeaveCheckpoint
KillTimer(TimerName);
Re: When a player leaves a checkpoint -
Vero - 05.07.2011
Oh never knew there was an OnPlayerLeaveCheckpoint. :/ Thanks.