01.06.2010, 19:52
Never tryed before, let me go try one, check back here soon.
EDIT
Top of script
The command.
the function.
EDIT
Top of script
Code:
new timer; new secs;
Code:
if(!strcmp(cmd,"/countdown,true)) {
secs = 5;
timer = SetTimer("countdown", 999, 1);
return 1;}
Code:
forward Countdown();
public Countdown()
{
if(secs == 0)
{
GameTextForAll("~r~Go!",1000,3);
KillTimer(timer);
}
else
{
new string[8];
format(string,sizeof(string),"~R~%d",secs);
GameTextForAll(string,1000,3);
}
secs = secs-1;
return 1;
}

