[HELP] Timer
#2

SetTimer("Function", 60000, 1); // KillTimer should be used as well
public Function()
{
minutes--;
// Text draw code with minutes here, or
if(minutes==0){
// here if you don't display 0 minutes.
minutes=10;}
SetTimer("Function", 60000, 0); // Can be stopped here, by making if statement, on for example value to indicate statuss of countdown or the whole game
}
Reply


Messages In This Thread
[HELP] Timer - by Baboon - 27.11.2010, 15:59
Re: [HELP] Timer - by RSX - 27.11.2010, 16:03
Re: [HELP] Timer - by Baboon - 27.11.2010, 16:24
Re: [HELP] Timer - by zSuYaNw - 27.11.2010, 17:11

Forum Jump:


Users browsing this thread: 1 Guest(s)