SA-MP Forums Archive
Timer problem - 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 problem (/showthread.php?tid=316672)



Timer problem - shanks_ - 08.02.2012

http://pastebin.com/BYMEkcgy

I made this arena mode on my script from tdc_aad. There seems to be some problem with the timer. Normally the timer should go down from 10 to 0 seconds by one second interval (e.g. 10, 9, 8, 7 and etc..), with this script if one player is online on the server, the timer will run normally. But, when two players join the server, the timer goes down by 2 (e.g. 10, 8, 6, 4 and etc), when 3 players join the server the timer goes down by 3 (e.g. 10, 7, 5 and etc.) and so on.

I can't figure out what is the problem, I tried to look at everything in tdc_aad and compared to my script, everything seems to be exactly the same but I still have that bug.

Any suggestions??


Re: Timer problem - Tannz0rz - 08.02.2012

With the scale of code being viewed, I'd imagine that you'd get a lot more help if it were easier to read!