pawn Код:
new countn,counttimer;
forward BOOM(playerid);
COMMAND:test(playerid,params[])
{
countn=3;
counttimer=SetTimerEx("BOOM",1000,true,"i",playerid);
}
public BOOM(playerid)
{
countn--;
new string[128];
format(string,sizeof(string),"%d",countn);
GameTextForPlayer(playerid,string,3000,4);
if(count<=-1)
{
KillTimer(counttimer);
GameTextForPlayer(playerid,"BOOM",1500,4);
}
return 1;
}