06.03.2013, 11:28
Ok, so i have a timer for voting, i want it so that if that the vote has been favored before the timer actually comes to it's end that it ends and calls the function.
what i basically got
The thing is i don't see a way i can just kill the timer and have it call the correct function straight after. This is because i have one timer that can call multiple functions.
example:
So anyone have an idea on how i could kill the timer but still call the function, just sooner?
what i basically got
Код:
new timer;
example:
Код:
timer = SetTimer("vote1",20000,false); timer = SetTimer("vote2",20000,false);