19.08.2012, 13:42
Make a variable for entered checkpoints, and when a player enters a checkpoint, increase the variable by one.
Then, you can check if the variable's count is equal to the total race checkpoints and if it is, obviously that means the player has entered the last checkpoint.
To check the positions, make another variable and when a player finishes, increase it by one.
Then, you can check if the variable's count is equal to the total race checkpoints and if it is, obviously that means the player has entered the last checkpoint.
To check the positions, make another variable and when a player finishes, increase it by one.