Get a random player in range of position using loops
#2

Never, ever, ever use goto. Do-While would be an appropriate structure here.

However, I'd just do a general loop and add all players that are in range to a new iterator. Then pick a random player from the newly created iterator.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)