Loop though all players and if is on 1 team do so other do that
Hi im wondering whats the best loop if im going to loop all players check what team and then give them something depending on team?
Ive found some different loops but they dosent work/does it in another way. Thanks in advanced |
Re: Loop though all players and if is on 1 team do so other do that
Using get_players() :
Code:
If you plan to use severals times the player's index, you should save it : Code:
Looping through all players : Code:
|
Re: Loop though all players and if is on 1 team do so other do that
Thank you:mrgreen:
|
| All times are GMT -4. The time now is 15:41. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.