13.07.2013, 13:23
LOL, the function is just the first line. Parameters and seconds[] are an explanation of the code.
pawn Code:
if (strcmp("/cd", cmdtext, true) == 0)
{
TextDrawCountDownForAll(seconds); // Replace "seconds" for the amount of seconds you want the countdown to last. Use TextDrawCountDownForPlayer(playerid, seconds) if you want to show it just to a player.
return 1;
}