16.02.2013, 19:50
rephrase question 1, please.
you want to know which random checkpoint was chosen, when... what?
..when the player enters the checkpoint?
..when the function ends?
or do you want to use that random number later, in a different function? in that case, you need to make the variable global, best for [MAX_PLAYERS];.
you want to know which random checkpoint was chosen, when... what?
..when the player enters the checkpoint?
..when the function ends?
or do you want to use that random number later, in a different function? in that case, you need to make the variable global, best for [MAX_PLAYERS];.

