How do I not have to put loop-player's gamemode ?

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the community!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

christianmv84

Active Member
Jul 20, 2017
50
0
0
How do I not have to put loop-player's gamemode ?

code_language.skript:
loop-player's gamemode is not creative

code_language.skript:
every 3 seconds:
    loop all players:
        loop-player is not flying
        loop-player's gamemode is not creative
        set {x.%loop-player%} to the x location of loop-player
        wait 1 seconds
        set {x2.%loop-player%} to the x location of loop-player
        wait 1 ticks
        if difference between {x.%loop-player%} and {x2.%loop-player%} is greater than 8:
            loop all players:
                loop-player-2 has permission "{@PermissionAC}":
                    make console execute command "console {@PrefixAC} &c%loop-player-1% puede estar usando &cSpeed (Type B) &f| &8[&c%player's ping% ms&8] &f| &8[&cIP: %ip of player%&8] &f| &8[&cTPS: %{_tps}%&8]"

This have error
 
Status
Not open for further replies.