Random Player
#2

You can do this by using the Iter_Random function with foreach.
For example.
pawn Code:
randPlayer = Iter_Random(Player);
It will only select a random player that is connected. Make sure it says "Player". Player is the custom iterator in foreach for connected players.
Reply


Messages In This Thread
Random Player - by sanrock - 21.06.2012, 15:15
Re: Random Player - by ReneG - 21.06.2012, 15:24
Re: Random Player - by MadeMan - 21.06.2012, 15:28
Re: Random Player - by judothijs - 21.06.2012, 18:01

Forum Jump:


Users browsing this thread: 1 Guest(s)