01.04.2014, 05:06
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?
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?