Random Player from Team
#6

Use foreach and create custom iterators for the teams. Then use Iter_Random. This is by far the most reliable way. A do-while loop might also work but it is not as efficient and there's a chance it may hang the server if no players are found.
Reply


Messages In This Thread
Random Player from Team - by XStreeter - 15.05.2016, 18:04
Re: Random Player from Team - by XStreeter - 15.05.2016, 18:31
Re: Random Player from Team - by oMa37 - 15.05.2016, 18:37
Re: Random Player from Team - by NaS - 15.05.2016, 18:49
Re: Random Player from Team - by Nin9r - 16.05.2016, 07:14
Re: Random Player from Team - by Vince - 16.05.2016, 10:28

Forum Jump:


Users browsing this thread: 2 Guest(s)