06.02.2011, 03:22
This dont work.. IDK why..
The count down dont appear
The count down dont appear
pawn Код:
forward CountDown(playerid, time);
public CountDown(playerid, time)
{
if((--time) < 1)
{
//tadaaaa The count down is done :D
return ;
}
else
{
new string[128];
format(string, sizeof string, "%d", time);
SendClientMessage(-(playerid + 1), 0xFFFFFFAA, string);
SetTimerEx("Countdown", 1000, false, "ii", playerid, time);
}
}