Timer don't stop - 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)
+--- Thread: Timer don't stop (
/showthread.php?tid=676093)
Timer don't stop -
Calinut200 - 29.05.2020
Helo! This timer don't stop, is looping over and over but i use function killtimer
PHP Code:
new stopracetimer;
stopracetimer = SetTimer("startrace", 1000, 1);
KillTimer(stopracetimer);
This functions i use in my gamemode in diferent lines and is not stoping!
Re: Timer don't stop -
Nexotronix - 29.05.2020
First: try SetTimerEx
Else:
Explain the way you use this lines. Did you started timer in one callback, then finish in another? Something like this. If we could see some piece of code would be great, so we can help you.
Re: Timer don't stop -
Adamoneoone - 29.05.2020
Show us
startrace
Re: Timer don't stop -
Nexotronix - 29.05.2020
Quote:
Originally Posted by Adamoneoone
Show us startrace
|
Agree with you.
Re: Timer don't stop -
GameOvr - 30.05.2020
K if you are using the timerfix plugin by Dan, it has this bug timers doesnt get killed read this
https://forum.sa-mp.com/showpost.php...62&postcount=1
Use this plugin and your problem will be fixed
https://sampforum.blast.hk/showthread.php?tid=650736