03.04.2010, 18:05
i maded count down function but i have a problem
this is my function
I added it to some command like this
But it's saw me only the number 50 then 0 then disappear
this is my function
Код:
forward CountDown(playerid,cd);
Код:
public CountDown(playerid,cd)
{
format(cdt,sizeof(cdt),"%d",cd);
GameTextForPlayer(playerid,cdt,1000,3);
if(cd>1)
{
cd--;
SetTimerEx("CountDown", 1000, 0, "i", playerid);
}
return 1;
}
Код:
CountDown(playerid,50);

