Countdown help
#3

Ahh thanks man. Where should I put my if(InEvent[playerid] == 1)? Here's what I changed your provided code to.
pawn Код:
public Countdown(playerid)
{
    switch(iCountdownStep)
    {
        case 0:
        {
            GameTextForPlayer(playerid, "3", 2000, 4);
        }
        case 1:
        {
            GameTextForPlayer(playerid, "2", 2000, 4);
        }
        case 2:
        {
            GameTextForPlayer(playerid, "1", 2000, 4);
        }
        default:
        {
            GameTextForPlayer(playerid, "~g~GO!", 3000, 4);
            TogglePlayerControllable(playerid, 1);
            KillTimer(tCountdownTimer);
        }
    }
    iCountdownStep++;
}
Reply


Messages In This Thread
Countdown help - by Finn707 - 01.09.2013, 20:12
Re: Countdown help - by Borg - 02.09.2013, 02:12
Re: Countdown help - by Finn707 - 02.09.2013, 11:15
Re: Countdown help - by Borg - 02.09.2013, 17:24
Re: Countdown help - by Finn707 - 02.09.2013, 18:07

Forum Jump:


Users browsing this thread: 1 Guest(s)