SetTimerEx [SOLVED]
#1

Hello, just a quick question;

I am making a timer which will wait for 0.5 seconds and then kick the player.
I am using a SetTimerEx to then call my KickPlayer function, will I need to use KillTimer within the KickPlayer function, or will it stop automatically?
Reply
#2

If you set your repeating argument to false or 0 than you dont need to use KillTimer. It will be executed only once and thats it.

KillTimer function is there only for timer that are repeating non stop, and you use KillTimer function to stop them.
Reply
#3

Quote:
Originally Posted by DRIFT_HUNTER
Посмотреть сообщение
If you set your repeating argument to false or 0 than you dont need to use KillTimer. It will be executed only once and thats it.

KillTimer function is there only for timer that are repeating non stop, and you use KillTimer function to stop them.
Ahh alright, thanks a lot; wasn't really sure of what the argument was about, but now I do.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)