03.04.2011, 22:13
usa este codigo:
pawn Код:
//variable
new TT, time = 5;
//cmd
if(!strcmp(cmdtext, "/countdown", true))return TT = SetTimer("Conteo", 1000, true);
//timer
forward Conteo();
public Conteo()
{
new str[8];
if(time>0)format(str, 5, "~R~%i", time);
else str = "~G~YAA!"
GameTextForAll(str, 1000, 4);
time--;
if(time == 0){
time = 5;
KillTimer(TT);
}
}