1. 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 comminuty!

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

  2. LOOKING FOR A VERSION OF SKRIPT?

    You can always check out our Wiki for downloads and any other information about Skript!

Dismiss Notice
This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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

Discussion in 'Skript' started by christianmv84, Jan 1, 2018.

Thread Status:
Not open for further replies.
  1. christianmv84

    christianmv84 Active Member

    Joined:
    Jul 20, 2017
    Messages:
    50
    Likes Received:
    0
    How do I not have to put loop-player's gamemode ?

    Code (Skript):
    1. loop-player's gamemode is not creative
    Code (Skript):
    1. every 3 seconds:
    2.     loop all players:
    3.         loop-player is not flying
    4.         loop-player's gamemode is not creative
    5.         set {x.%loop-player%} to the x location of loop-player
    6.         wait 1 seconds
    7.         set {x2.%loop-player%} to the x location of loop-player
    8.         wait 1 ticks
    9.         if difference between {x.%loop-player%} and {x2.%loop-player%} is greater than 8:
    10.             loop all players:
    11.                 loop-player-2 has permission "{@PermissionAC}":
    12.                     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
     
Thread Status:
Not open for further replies.

Share This Page

Loading...