Help with random spawn points
#9

Let's say you have 2 teams, team A and team B. Declare 2 arrays with random spawn points, one for each team.
Then when you need to spawn the player, check if the player is in team A and choose a random spawn point from the first array. If the player is in team B, choose a random spawn point from the second array.
Reply


Messages In This Thread
Help with random spawn points - by 7Ahmad7 - 23.05.2015, 13:16
Re: Help with random spawn points - by Konstantinos - 23.05.2015, 13:22
Re: Help with random spawn points - by 7Ahmad7 - 23.05.2015, 13:40
Re: Help with random spawn points - by Konstantinos - 23.05.2015, 13:43
Re: Help with random spawn points - by LMaxCo - 23.05.2015, 13:48
Re: Help with random spawn points - by 7Ahmad7 - 23.05.2015, 13:58
Re: Help with random spawn points - by Konstantinos - 23.05.2015, 14:01
Re: Help with random spawn points - by 7Ahmad7 - 23.05.2015, 14:10
Re: Help with random spawn points - by Konstantinos - 23.05.2015, 14:16
Re: Help with random spawn points - by 7Ahmad7 - 23.05.2015, 14:24

Forum Jump:


Users browsing this thread: 1 Guest(s)