27.11.2010, 16:03
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
}
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
}