SA-MP Forums Archive
Timers not working - 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: Timers not working (/showthread.php?tid=605564)



Timers not working - Marshall2015 - 21.04.2016

I have multiple timers in my GameMode, some stop working when passing 30 users or less, what is that?


Re: Timers not working - Kittylol - 21.04.2016

Hello!Could you please check your server.cfg and "maxplayers",because player limit is very important factor for server.Some scripts(actually rare if honest) sometimes are depending on the players count.So try making bigger limit,add more slots.But there will be appearing another factor.The more players you allow,the more internet/computer resources will be used(but these days internet connections and pc power is huge,so it won't be a problem,but just sayin').
P.S sorry if it won't help,i logged in for first time,for a loooooong time and I forgot maany things.


Re: Timers not working - colonel-top - 22.04.2016

Show your code So we can see your code which section that not working well or have problem


Re: Timers not working - Marshall2015 - 22.04.2016

Of course, here are the timers that stop working: http://pastebin.com/23wprxJf (works every second)

Speedometer (works every 300 ms):
http://pastebin.com/Xh0HkFj4


Re: Timers not working - Marshall2015 - 22.04.2016

Quote:
Originally Posted by Kittylol
Посмотреть сообщение
Hello!Could you please check your server.cfg and "maxplayers",because player limit is very important factor for server.Some scripts(actually rare if honest) sometimes are depending on the players count.So try making bigger limit,add more slots.But there will be appearing another factor.The more players you allow,the more internet/computer resources will be used(but these days internet connections and pc power is huge,so it won't be a problem,but just sayin').
P.S sorry if it won't help,i logged in for first time,for a loooooong time and I forgot maany things.
#undef MAX_PLAYERS
#define MAX_PLAYERS (100)

CFG: maxplayers 100


Re: Timers not working - Marshall2015 - 25.04.2016

I solved correctly placing KillTimer other foreach timers and updated to latest version. Thanks to colonel-top by the support by private message.