[QUOTE=juantar] @Schoening : yes, sort of. The count variable it would get massive if there is a massive amount of players joining. The count variable gets incremented only when a new player joins so that the server can assign a unique number to that player.
The server script in the sample was not designed to be run forever. It works more like the old games: you would start the server part of the game every time you wanted to play a multiplayer game, let you friends know about the IP address of your game session and then close it when you were done with the match.[/QUOTE]
For my use I will probably try to find a way to reuse the array in places where a player has left.
Like perhaps using This
this, as a reference, and moving the players closer to 0 when some one leaves ^^