Timer Help
#1

How can i make it so when player leaves the check point the timer gets disabled?
Reply
#2

new Timer1;
Timer1 = SetTimer("TEST", 2, 2);

KillTimer(Timer1);


There is an example.
Reply
#3

I used that it didn't work. I put it on OnPlayerLeaveCheckpoint. When i enter the checkpoint and walks off, the timer continues.
Reply
#4

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..
Reply
#5

:< can don't get how it works though
Reply
#6

http://forum.sa-mp.com/index.php?topic=159074.0



Go there. Great timer tutorial.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)