04.11.2009, 12:24
You can't do something like random(MAX_PLAYERS), as some player slots may be empty, see if there would be these players:
0 1 2 3 4 5 6
then player 2 and 4 disconnect, it looks like that now:
0 1 3 5 6
0 1 2 3 4 5 6
then player 2 and 4 disconnect, it looks like that now:
0 1 3 5 6