Stopping a timer before it ends
#1

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

Код:
new timer;
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:
Код:
timer = SetTimer("vote1",20000,false);
timer = SetTimer("vote2",20000,false);
So anyone have an idea on how i could kill the timer but still call the function, just sooner?
Reply


Messages In This Thread
Stopping a timer before it ends - by Marco_Valentine - 06.03.2013, 11:28
Re: Stopping a timer before it ends - by LarzI - 06.03.2013, 11:44
Re: Stopping a timer before it ends - by Marco_Valentine - 06.03.2013, 12:07
Re: Stopping a timer before it ends - by LarzI - 06.03.2013, 12:22
Re: Stopping a timer before it ends - by Marco_Valentine - 06.03.2013, 12:23
Re: Stopping a timer before it ends - by Marco_Valentine - 10.03.2013, 03:00

Forum Jump:


Users browsing this thread: 1 Guest(s)