SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help

Reply
 
Thread Tools Display Modes
Old 29/05/2020, 05:12 PM   #1
Calinut200
Big Clucker
 
Join Date: Jun 2016
Posts: 74
Reputation: 0
Default Timer don't stop

Helo! This timer don't stop, is looping over and over but i use function killtimer
PHP Code:
new stopracetimer;
stopracetimer SetTimer("startrace"10001);
KillTimer(stopracetimer); 
This functions i use in my gamemode in diferent lines and is not stoping!
Calinut200 is offline   Reply With Quote
Old 29/05/2020, 05:32 PM   #2
Nexotronix
Huge Clucker
 
Nexotronix's Avatar
 
Join Date: Jan 2010
Location: Donetsk/Ukraine
Posts: 275
Reputation: 41
Default Re: Timer don't stop

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.
__________________
Work In Progress:
[GameMode]Stroberia RolePlay (20%) [Join My Channel to take part in Testing http://discord.gg/sBpRC5E]
Development Video: Watch Here
Serverside Map/GPS System: Watch Here
Discord: Tom_Strobe#2300
Nexotronix is offline   Reply With Quote
Old 29/05/2020, 07:26 PM   #3
Adamoneoone
Huge Clucker
 
Join Date: Sep 2014
Posts: 488
Reputation: 37
Default Re: Timer don't stop

Show us startrace
__________________
If you want to have your own custom script, or even want to have one of our already released scripts, join our SCRIPTING SERVICES DISCORD, or send me a private message!
Adamoneoone is offline   Reply With Quote
Old 29/05/2020, 07:33 PM   #4
Nexotronix
Huge Clucker
 
Nexotronix's Avatar
 
Join Date: Jan 2010
Location: Donetsk/Ukraine
Posts: 275
Reputation: 41
Default Re: Timer don't stop

Quote:
Originally Posted by Adamoneoone View Post
Show us startrace
Agree with you.
__________________
Work In Progress:
[GameMode]Stroberia RolePlay (20%) [Join My Channel to take part in Testing http://discord.gg/sBpRC5E]
Development Video: Watch Here
Serverside Map/GPS System: Watch Here
Discord: Tom_Strobe#2300
Nexotronix is offline   Reply With Quote
Old 30/05/2020, 08:12 AM   #5
GameOvr
Huge Clucker
 
GameOvr's Avatar
 
Join Date: Jun 2018
Posts: 296
Reputation: 9
Default Re: Timer don't stop

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://forum.sa-mp.com/showthread.php?t=650736
__________________
GameOvr is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Timer won't stop PeanutButter Scripting Help 8 18/02/2017 06:05 PM
Timer dont stop sometimes:s Admigo Help Archive 4 16/08/2011 03:00 PM
Timer don't want to stop ;D Daslee Help Archive 4 28/08/2010 10:02 PM
Stop The Timer Ironboy500 Help Archive 6 18/11/2009 01:42 PM
timer wont stop dice7 Help Archive 6 14/04/2009 05:47 PM


All times are GMT. The time now is 06:02 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.