Parkour check points help
#3

thats not hard here would be an example

pawn Код:
//if(last checkpoint)
{
    static winner;
    new string[64];
    GetPlayerName(playerid, string, MAX_PLAYER_NAME);
    switch(++winner)
    {
        case 1: format(string, sizeof string, "~r~%s ~b~won the race!", string);
        case 2: format(string, sizeof string, "~r~%s ~b~is second!", string);
        case 3:
        {
            format(string, sizeof string, "~r~%s ~b~is third!~n~~y~Time is up!", string);
            winner = 0;
            EndRace(); //Pseudo function to reset the race and remove all racers
        }
    }
    return GameTextForAll(string, 5000, 4);
}
Reply


Messages In This Thread
Parkour check points help - by fie - 05.09.2010, 09:34
Re: Parkour check points help - by PixeledNinja - 05.09.2010, 11:21
Re: Parkour check points help - by Nero_3D - 05.09.2010, 12:17

Forum Jump:


Users browsing this thread: 3 Guest(s)