Super easy Countdown command
#7

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;
}
Reply


Messages In This Thread
Super easy Countdown command - by JEkvall95 - 13.07.2013, 13:10
Re: Super easy Countdown command - by Bakr - 13.07.2013, 13:14
Re: Super easy Countdown command - by JEkvall95 - 13.07.2013, 13:15
Re: Super easy Countdown command - by Bakr - 13.07.2013, 13:16
Re: Super easy Countdown command - by JEkvall95 - 13.07.2013, 13:17
Re: Super easy Countdown command - by Bakr - 13.07.2013, 13:22
Respuesta: Super easy Countdown command - by PHudson - 13.07.2013, 13:23
Re: Super easy Countdown command - by JEkvall95 - 13.07.2013, 13:27
Respuesta: Super easy Countdown command - by PHudson - 13.07.2013, 13:31
Re: Respuesta: Super easy Countdown command - by JEkvall95 - 13.07.2013, 14:16

Forum Jump:


Users browsing this thread: 1 Guest(s)