SA-MP Forums Archive
What if a timer never ends? - 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: What if a timer never ends? (/showthread.php?tid=625350)



What if a timer never ends? - GranaT3 - 31.12.2016

As the title says, what happens if a player timer never ends ?. For example: the timer always resumes in the time that was saved when disconnecting the user, but that user has already played in the server for 2 years. Is there a problem?


Re: What if a timer never ends? - SoLetsGO - 31.12.2016

Can you be more precise please?


Respuesta: What if a timer never ends? - GranaT3 - 31.12.2016

What happens if a player timer never ends ?. It is simple.


Re: Respuesta: What if a timer never ends? - SoLetsGO - 31.12.2016

Quote:
Originally Posted by GranaT3
Посмотреть сообщение
What happens if a player timer never ends ?. It is simple.
What should happen? It just keeps being called and will be destroyed when you shut down your server.


Re: What if a timer never ends? - ISmokezU - 31.12.2016

imagine Every time a player connects you start a running timer and you never actually killed it. by time 50-100+
Join the server,you'll have 50-100 timers running constantly and the server would be very laggy.


Re: What if a timer never ends? - iLearner - 31.12.2016

I have about 7 timers which run from server startup till shut down.

well, depends on what you do with timers too.