How to Make Chat Countdown Help!
#4

Quote:
Originally Posted by SuperViper
Посмотреть сообщение
pawn Код:
InitializeCountdown(playerid)
{
    new string[128], playersName[MAX_PLAYER_NAME];
    GetPlayerName(playerid, playersName, MAX_PLAYER_NAME);
    format(string, sizeof(string), "Countdown started by (%d) %s", playerid, playersName);
    SendClientMessageToAll(-1, string);
    SendClientMessageToAll(-1, "3");
    SetTimer("Countdown_Two", 1000, 0);
    SetTimer("Countdown_One", 2000, 0);
    SetTimer("Countdown_Go", 3000, 0);
}

forward Countdown_Two();
public Countdown_Two()
{
    return SendClientMessageToAll(-1, "2");
}

forward Countdown_One();
public Countdown_One()
{
    return SendClientMessageToAll(-1, "1");
}

forward Countdown_Go();
public Countdown_Go()
{
    return SendClientMessageToAll(-1, "Go!");
}
To start it, put InitializeCountdown(playerid) somewhere in a command or something.
so wat is that command for counting
Reply


Messages In This Thread
How to Make Chat Countdown Help! - by MrCripBloodz - 15.06.2012, 06:12
Re: How to Make Chat Countdown Help! - by MrCripBloodz - 17.06.2012, 23:39
Re: How to Make Chat Countdown Help! - by SuperViper - 18.06.2012, 02:20
Re: How to Make Chat Countdown Help! - by MrCripBloodz - 21.06.2012, 03:41
Re: How to Make Chat Countdown Help! - by [MM]RoXoR[FS] - 21.06.2012, 03:44
Re: How to Make Chat Countdown Help! - by JaTochNietDan - 21.06.2012, 05:32
[No subject] - by MrCripBloodz - 27.06.2012, 03:22

Forum Jump:


Users browsing this thread: 4 Guest(s)