27.07.2012, 11:54
I want to make a timer that starts at 1:00 and goes down to 0. I want it also to show and the screen ( bottom right ) as it counts down.
forward CountDown(cd);
public CountDown(cd)
{
new ctd[20];
format(ctd, sizeof(ctd), "%d", cd);
GameTextForAll(ctd,1000,3);
if(cd > 0)
{
cd--;
SetTimerEx("CountDown",false, 1000, "d", cd);
}
else GameTextForAll("Go",1000,3);
return 1;
}