Problem with timers - 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: Problem with timers (
/showthread.php?tid=414432)
Problem with timers -
x2gKaos - 09.02.2013
Alright so here is the problem, All of the timers in my game mode run at half speed, example: /countdown 5 actually takes 10 seconds instead of 5. I'm on 0.3x and I have tried updating streamer but that didn't fix it. The countdown line is SetTimer("CountDown",1000,true); I have tried SetTimerEx and that didn't fix it. I have searched on ****** and on here for similar issues but couldn't find anything. It's not a hosting issue because the same problem happens when I run the server locally. Thanks for taking your time to read this and hopefully helping me.
Re: Problem with timers -
lDarren - 09.02.2013
Show us your code?
Re: Problem with timers -
x2gKaos - 09.02.2013
For? SetTimer("CountDown",1000,true); It's happening with all of my timers, and there is a bunch of them ...
Re: Problem with timers -
LarzI - 09.02.2013
Try using y_timers. The problem may be caused by too many timers running simultaneously
Re: Problem with timers -
x2gKaos - 09.02.2013
Alright, I'll try that. Thanks
Re: Problem with timers -
MP2 - 09.02.2013
Do you have 'sleep' in your server.cfg? If so; remove it.