settimerex check time left ?
#7

Timers do not return the time left when assigning a variable into them.

SetTimerEx especifically returns:
The ID of the timer that was started. Timer IDs start at 0. Timer IDs are never re-used.

I believe Y_Timers haves a function to check the current running time of a timer, otherwise you need to make it a repeating timer that acts sort of like a countdown, or create a new variable that saves the time when the timer was started, then with that you can check later how much time has passed since that.
Reply


Messages In This Thread
settimerex check time left ? - by karolis11234 - 17.03.2014, 16:21
Re: settimerex check time left ? - by Dokins - 17.03.2014, 16:59
Re: settimerex check time left ? - by karolis11234 - 17.03.2014, 17:05
Re: settimerex check time left ? - by Dokins - 17.03.2014, 17:12
Re: settimerex check time left ? - by karolis11234 - 17.03.2014, 17:16
Re: settimerex check time left ? - by Dokins - 17.03.2014, 17:18
Re: settimerex check time left ? - by CuervO - 17.03.2014, 17:45
Re: settimerex check time left ? - by Dokins - 17.03.2014, 17:52
Re: settimerex check time left ? - by MP2 - 17.03.2014, 18:37

Forum Jump:


Users browsing this thread: 1 Guest(s)