Player loops
#1

I'm not sure on how to check through all the players and if something is true, code executes, can somebody help me with what I'd do?

I've basically made a command, where if typed a player variable is set to 1. When the server starts a timer is set to execute in 30 minutes. At the 30 minute mark, all players with the variable set to 1 will be teleported. How do I loop through the players to check if the variable is equal to one?
Reply


Messages In This Thread
Player loops - by Garr - 01.04.2014, 05:06
Re: Player loops - by Sascha - 01.04.2014, 08:04
Re: Player loops - by Garr - 02.04.2014, 04:22
Re: Player loops - by Polki - 02.04.2014, 05:15
Re: Player loops - by Garr - 02.04.2014, 05:33
Re: Player loops - by SickAttack - 02.04.2014, 05:46
Re: Player loops - by RajatPawar - 02.04.2014, 13:00
Re: Player loops - by BroZeus - 02.04.2014, 14:06

Forum Jump:


Users browsing this thread: 2 Guest(s)