15.05.2016, 16:49
Hello again
I have a question about the timers again.
I want to create an AntiSpawnKill by setting the health of the player to 10000.0 and after 40 seconds it will be reseted to 100.0.
I am planning on creating a normal timer and keeping the Timer Id for each player since when the player dies for whatever reason before the "callback" is called or disconnects the timer will be stopped.
I have more doubts about the timers because I saw timers stop working when you disconnect from the server but I have no idea how it works.
More problems I could have:
(When I want to send everyone a message or something else after the player disconnects, i.g. 1 minute later guess the timer won't work)
I have a question about the timers again.
I want to create an AntiSpawnKill by setting the health of the player to 10000.0 and after 40 seconds it will be reseted to 100.0.
I am planning on creating a normal timer and keeping the Timer Id for each player since when the player dies for whatever reason before the "callback" is called or disconnects the timer will be stopped.
I have more doubts about the timers because I saw timers stop working when you disconnect from the server but I have no idea how it works.
More problems I could have:
(When I want to send everyone a message or something else after the player disconnects, i.g. 1 minute later guess the timer won't work)