17.03.2014, 17:45
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.
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.