01.03.2011, 20:23
Break would breaks the timer when time variable be 0. But I've found a better way for that:
thx at all.
pawn Код:
public counter()
{
new string[3];
time--;
format(string,sizeof(string),"%d",time);
GameTextForAll(string,1000,5);
if(time > 0)
{
SetTimer("counter",1000,false);
}
else
{
SetTimer("voting",2000,false);
}
return 1;
}