Posts: 193
Threads: 56
Joined: Jul 2015
Reputation:
0
In derby players just do /derby and then they're sent to their positons, but how can i make that it checks if position is empty or not before sending the player ?
Thanks
Posts: 30
Threads: 2
Joined: Jan 2013
Reputation:
0
Just have a set of positions in an array and put the playerids that join the derby in an array. Loop through both arrays and put the players in each position, this way you dont need to check if a position is taken or not.