How to make something like this
#4

I think it should be like that

pawn Код:
//OnPlayerEnterCheckpoint
        new
            iCount;
           
        foreach(Player, i) {
            if(PlayerRaceCheckpoint[i] >= PlayerRaceCheckpoint[playerid])
                iCount++;
        }

        PlayerRaceCheckpoint[playerid]++;
since the players who already had this checkpoint are before him

For a real time update you would need to use an timer with distance checks
Reply


Messages In This Thread
How to make something like this - by Kitten - 22.06.2011, 06:32
Re: How to make something like this - by Calgon - 22.06.2011, 08:37
Re: How to make something like this - by [BP]Tony - 22.06.2011, 08:58
AW: How to make something like this - by Nero_3D - 22.06.2011, 10:18

Forum Jump:


Users browsing this thread: 1 Guest(s)