lundi 31 mars 2014

Player loops

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?




Aucun commentaire:

Enregistrer un commentaire