I tried making a script that will select a player, but it keeps saying 'cant understand condition/effect: loop all players' how can i fix this?\
the script:
on join:
if player has permission "op":
add 1 to {staffonline}
loop all players
if loop-player has permission "op":
set {chosenstaff} to loop-player
else:
if player has permission "op":
set {chosenstaff} to player
Question
2zie
I tried making a script that will select a player, but it keeps saying 'cant understand condition/effect: loop all players' how can i fix this?\
the script:
on join:
if player has permission "op":
add 1 to {staffonline}
loop all players
if loop-player has permission "op":
set {chosenstaff} to loop-player
else:
if player has permission "op":
set {chosenstaff} to player
Link to comment
Share on other sites
0 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now