18.02.2010, 14:01
How is RaceCP assigned? Because unless the RaceCP directly corresponds to a checkpoint the player was put into, something like:
Or
But the point being, the CP you're comparing, might not be the CP the player is acctually in.
pawn Code:
RaceCP[playerid] = CreateDynamicCheckpoint(playerid.....);
pawn Code:
for(new i=0; i<MAX_PLAYERS; i++)
{
RaceCP[i] = CreateDynamicCheckpoint(i.....);
}