Timer Help - 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: Timer Help (
/showthread.php?tid=156549)
Timer Help -
bennyisme - 23.06.2010
How can i make it so when player leaves the check point the timer gets disabled?
Re: Timer Help -
NiiRV4N4 - 23.06.2010
new Timer1;
Timer1 = SetTimer("TEST", 2, 2);
KillTimer(Timer1);
There is an example.
Re: Timer Help -
bennyisme - 23.06.2010
I used that it didn't work. I put it on OnPlayerLeaveCheckpoint. When i enter the checkpoint and walks off, the timer continues.
Re: Timer Help -
Jay. - 23.06.2010
Quote:
Originally Posted by bennyisme
I used that it didn't work. I put it on OnPlayerLeaveCheckpoint. When i enter the checkpoint and walks off, the timer continues.
|
It was an example..
Re: Timer Help -
bennyisme - 23.06.2010
:< can don't get how it works though
Re: Timer Help -
Dolph - 23.06.2010
http://forum.sa-mp.com/index.php?topic=159074.0
Go there. Great timer tutorial.