06.09.2016, 21:25
Do this:
It's raw i had no time to test it i am on the phone
pawn Код:
new counts;
new CountTimer[MAX_PLAYERS];
CMD:count(playerid, params[])
{
if(sscanf(params, "d", counts))
{
SendClientMessage(playerid,COLOR_RED, "Usage: /count amount of countdowns");
return 1;
}
if(counts == 0 || counts < 0 || counts > 3000)
{
SendClientMessage(playerid,COLOR_RED,"you can only count for 1-3000");
return 1;
}
CountTimer[playerid] = SetTimerEx("Counts",200,0,"d",playerid);
return 1;
}
CMD:killcount(playerid, params[])
{
KillTimer(CountTimer[playerid]);
TextDrawHideForAll(Textdrawcount0);
TextDrawHideForAll(Textdrawcount1);
counts = 0;
return 1;
}

