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

  • 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!

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

Tinkot

Active Member
Feb 10, 2018
57
1
0
27
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_language.skript:
[12:35:48] [Server thread/INFO]: [Skript] Loaded 12092 variables in 0.6 seconds
[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:')
[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:')
[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:')
[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:')
[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:')
[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:')
[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:')
[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:')
[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:')
[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: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:')
[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:')
[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:')
[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:')
[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:')
[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:')
[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:')
[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:')
[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:')
[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:')
[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:')
[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:')
[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:')
[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:')
[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:')
[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:')
[doublepost=1525973860,1525972704][/doublepost]solved.

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