Jump to content
  • 0

Loop player not working


2zie

Question

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

There have been no answers to this question yet

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...