19.05.2011, 14:26
pawn Код:
new countn, counttimer;
forward CountDown();
pawn Код:
countn = 15;
counttimer = SetTime("CountDown", 1000, true);
pawn Код:
public CountDown()
{
new string[20];
format(string, sizeof(string), "~g~%d", countn);
GameTextForAll(string, 0, 500);
countn--;
if(countn <= -1)
{
KillTimer(counttime);
}
return 1;
}