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.

Solved functions cannot be used (only while starting my server)?

Discussion in 'Skript' started by Tinkot, May 10, 2018.

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

    Tinkot Well-Known Member

    Joined:
    Feb 10, 2018
    Messages:
    57
    Likes Received:
    1
    when i reload my skript it work just fine. when i start or restart my server it says it can't be used. Using Skript 2.2 Fixes V9 Mirreski's fixes (for spigot 1.8). Maybe there are newer versions of Mirreski's fixes?, this one is the only one i found

    Code (Skript):
    1. [12:35:48] [Server thread/INFO]: [Skript] Loaded 12092 variables in 0.6 seconds
    2. [12:35:49] [Server thread/ERROR]: [Skript] Functions cannot be used here. (A1_BOW_1v1.sk, line 136: if contains(({{@Arena}.Team1::*} and {{@Arena}.Team2::*}), player) is true:')
    3. [12:35:49] [Server thread/ERROR]: [Skript] Functions cannot be used here. (A1_BOW_1v1.sk, line 142: if contains(({{@Arena}.Team1::*} and {{@Arena}.Team2::*}), player) is true:')
    4. [12:35:49] [Server thread/ERROR]: [Skript] Functions cannot be used here. (A1_BOW_1v1.sk, line 150: if contains(({{@Arena}.Team1::*} and {{@Arena}.Team2::*}), player) is true:')
    5. [12:35:49] [Server thread/ERROR]: [Skript] Functions cannot be used here. (A1_BOW_1v1.sk, line 159: if contains(({{@Arena}.Team1::*} and {{@Arena}.Team2::*}), player) is true:')
    6. [12:35:49] [Server thread/ERROR]: [Skript] Functions cannot be used here. (A1_BOW_1v1.sk, line 170: if contains(({{@Arena}.Team1::*} and {{@Arena}.Team2::*}), player) is true:')
    7. [12:35:49] [Server thread/ERROR]: [Skript] Functions cannot be used here. (A1_BOW_1v1.sk, line 176: if contains(({{@Arena}.Team1::*} and {{@Arena}.Team2::*}), player) is true:')
    8. [12:35:49] [Server thread/ERROR]: [Skript] Functions cannot be used here. (A1_BOW_1v1.sk, line 180: if contains(({{@Arena}.Team1::*} and {{@Arena}.Team2::*}), player) is true:')
    9. [12:35:49] [Server thread/ERROR]: [Skript] Functions cannot be used here. (A1_BOW_1v1.sk, line 199: if contains(({{@Arena}.Team1::*} and {{@Arena}.Team2::*}), player) is true:')
    10. [12:35:51] [Server thread/ERROR]: [Skript] Functions cannot be used here. (A1_BOW_1v1.sk, line 283: if contains(({{@Arena}.Team1::*} and {{@Arena}.Team2::*}), player) is true:')
    11. [12:35:51] [Server thread/ERROR]: [Skript] Functions cannot be used here. (A1_BOW_1v1.sk, line 299: if contains(({{@Arena}.Team1::*} and {{@Arena}.Team2::*}), player) is true:')
    12. [12:35:51] [Server thread/ERROR]: [Skript] Functions cannot be used here. (A1_BOW_1v1.sk, line 321: if contains(({{@Arena}.Team1::*} and {{@Arena}.Team2::*}), victim) is true:')
    13. [12:35:51] [Server thread/ERROR]: [Skript] Functions cannot be used here. (A1_BOW_1v1.sk, line 326: if contains(({{@Arena}.Team1::*} and {{@Arena}.Team2::*}), victim) is true:')
    14. [12:35:51] [Server thread/ERROR]: [Skript] Functions cannot be used here. (A1_BOW_1v1.sk, line 329: if contains(({{@Arena}.Team1::*} and {{@Arena}.Team2::*}), victim) is true:')
    15. [12:35:59] [Server thread/ERROR]: [Skript] Functions cannot be used here. (B1_BOW_1v1.sk, line 136: if contains(({{@Arena}.Team1::*} and {{@Arena}.Team2::*}), player) is true:')
    16. [12:35:59] [Server thread/ERROR]: [Skript] Functions cannot be used here. (B1_BOW_1v1.sk, line 142: if contains(({{@Arena}.Team1::*} and {{@Arena}.Team2::*}), player) is true:')
    17. [12:35:59] [Server thread/ERROR]: [Skript] Functions cannot be used here. (B1_BOW_1v1.sk, line 150: if contains(({{@Arena}.Team1::*} and {{@Arena}.Team2::*}), player) is true:')
    18. [12:35:59] [Server thread/ERROR]: [Skript] Functions cannot be used here. (B1_BOW_1v1.sk, line 159: if contains(({{@Arena}.Team1::*} and {{@Arena}.Team2::*}), player) is true:')
    19. [12:35:59] [Server thread/ERROR]: [Skript] Functions cannot be used here. (B1_BOW_1v1.sk, line 170: if contains(({{@Arena}.Team1::*} and {{@Arena}.Team2::*}), player) is true:')
    20. [12:35:59] [Server thread/ERROR]: [Skript] Functions cannot be used here. (B1_BOW_1v1.sk, line 176: if contains(({{@Arena}.Team1::*} and {{@Arena}.Team2::*}), player) is true:')
    21. [12:35:59] [Server thread/ERROR]: [Skript] Functions cannot be used here. (B1_BOW_1v1.sk, line 180: if contains(({{@Arena}.Team1::*} and {{@Arena}.Team2::*}), player) is true:')
    22. [12:35:59] [Server thread/ERROR]: [Skript] Functions cannot be used here. (B1_BOW_1v1.sk, line 199: if contains(({{@Arena}.Team1::*} and {{@Arena}.Team2::*}), player) is true:')
    23. [12:36:00] [Server thread/ERROR]: [Skript] Functions cannot be used here. (B1_BOW_1v1.sk, line 283: if contains(({{@Arena}.Team1::*} and {{@Arena}.Team2::*}), player) is true:')
    24. [12:36:00] [Server thread/ERROR]: [Skript] Functions cannot be used here. (B1_BOW_1v1.sk, line 299: if contains(({{@Arena}.Team1::*} and {{@Arena}.Team2::*}), player) is true:')
    25. [12:36:01] [Server thread/ERROR]: [Skript] Functions cannot be used here. (B1_BOW_1v1.sk, line 321: if contains(({{@Arena}.Team1::*} and {{@Arena}.Team2::*}), victim) is true:')
    26. [12:36:01] [Server thread/ERROR]: [Skript] Functions cannot be used here. (B1_BOW_1v1.sk, line 326: if contains(({{@Arena}.Team1::*} and {{@Arena}.Team2::*}), victim) is true:')
    27. [12:36:01] [Server thread/ERROR]: [Skript] Functions cannot be used here. (B1_BOW_1v1.sk, line 329: if contains(({{@Arena}.Team1::*} and {{@Arena}.Team2::*}), victim) is true:')
    --- Double Post Merged, May 10, 2018, Original Post Date: May 10, 2018 ---
    solved.

    had to put ! for loading priorities
     
Thread Status:
Not open for further replies.
Loading...