Checkpoint
#3

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.
Reply


Messages In This Thread
Checkpoint - by SumX - 19.08.2012, 12:36
Re: Checkpoint - by Cjgogo - 19.08.2012, 13:28
Re: Checkpoint - by [MWR]Blood - 19.08.2012, 13:42
Re: Checkpoint - by Cjgogo - 19.08.2012, 13:50

Forum Jump:


Users browsing this thread: 1 Guest(s)