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 our 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.

Event "If player is OP" is not working

Discussion in 'Skript' started by Joni, Jan 12, 2019.

  1. J

    Joni Member

    Joined:
    Jan 5, 2019
    Messages:
    2
    Likes Received:
    0
    Hello, i'm trying to make a permission Skript and the "If player is OP" event is not working. It saids that there is no event "If player is OP".

    This is the code: https://pastebin.com/7c6KLQRA (line 149)

    Thank you if you help!
     
  2. T

    TPGamesNL Well-Known Member

    Joined:
    Jan 20, 2018
    Messages:
    584
    Likes Received:
    30
    Medals:
    you have to indent the line and the lines after that (from that trigger)
     
    • Agree Agree x 1
  3. ShaneBee

    Supporter +

    Joined:
    Sep 7, 2017
    Messages:
    1,529
    Likes Received:
    101
    That is because 'if player is op' is not an event, its a condition
     
  4. J

    Joni Member

    Joined:
    Jan 5, 2019
    Messages:
    2
    Likes Received:
    0
    So how can you check if someone is op?

     
  5. ShaneBee

    Supporter +

    Joined:
    Sep 7, 2017
    Messages:
    1,529
    Likes Received:
    101
    you need to check if the player is an op in an event.
     
Loading...