24.06.2016, 16:08
Using another array with the same size and set accordingly (to true when the spot is taken or to false when not). To me though, the best way would be an iterator from foreach/y_iterate. When a derby match is starting, add all the free slots to the iterator and when a player joins, pick up a random slot and remove it from the iterator afterwards.

