Więc tak: Dzisiaj napisałem na szybko skrypt na gui:
aliases:
puste = 160:7
command /klasa:
trigger:
if player has permission "gymwar.klasa":
open chest with 3 rows named "&b&lKlasy" to player
wait 1 tick
format slot 1 with 1 of puste named "" to be unsteable
format slot 2 with 1 of puste named "" to be unsteable
format slot 3 with 1 of puste named "" to be unsteable
format slot 4 with 1 of puste named "" to be unsteable
format slot 5 with 1 of puste named "" to be unsteable
format slot 6 with 1 of puste named "" to be unsteable
format slot 7 with 1 of puste named "" to be unsteable
format slot 8 with 1 of puste named "" to be unsteable
format slot 9 with 1 of puste named "" to be unsteable
format slot 10 with 1 of puste named "" to be unsteable
format slot 11 with 1 of puste named "" to be unsteable
format slot 12 with 1 of puste named "" to be unsteable
format slot 13 with 1 of minecraft:bow named "&a&lKlasa: &bLucznik %nl% %nl% &6&lCena: &c&l5000$ %nl% &6&lOpis: &8Lucznik posiada luk. %nl% &8Potrafi strzelac. %nl% &8Ma kolcze eq, lecz nie posiada miecza. %nl% %nl% &c> &7Kliknij aby kupic!" to close then run [kuplucznik %player%]
format slot 14 with 1 of minecraft:diamond_sword named "&a&lKlasa: &bRycerz %nl% %nl% &6&lCena: &c&l7000$ %nl% &6&lOpis: &8Rycerz posiada zlote eq. %nl% Jego miecz ma czar zakletego ognia, ale jest drewniany. %nl% Lepiej mu nie podskakuj! %nl% %nl% &c> &7Kliknij aby kupic!" to close then run [kuprycerz %player%]
format slot 15 with 1 of minecraft:fire_charge named "&a&lKlasa: &bMag ognia %nl% %nl% &6&lCena: &c&l6000$ %nl% &6&lOpis: &8Mag ognia posiada wyjątkową zdolnosc %nl% miotania kulami ognia. %nl% Prócz tego ma żelazny miecz %nl% oraz żelazne eq. %nl% Lepiej uważaj na niego, bo jak Cie strzeli... %nl% %nl% &c> &7Kliknij aby kupic!" to close then run [kupmag %player%]
format slot 16 with 1 of puste named "" to be unsteable
format slot 17 with 1 of puste named "" to be unsteable
format slot 18 with 1 of puste named "" to be unsteable
format slot 19 with 1 of puste named "" to be unsteable
format slot 20 with 1 of puste named "" to be unsteable
format slot 21 with 1 of puste named "" to be unsteable
format slot 22 with 1 of puste named "" to be unsteable
format slot 23 with 1 of puste named "" to be unsteable
format slot 24 with 1 of puste named "" to be unsteable
format slot 25 with 1 of puste named "" to be unsteable
format slot 26 with 1 of puste named "" to be unsteable
format slot 27 with 1 of puste named "" to be unsteable
else:
send "&c> &7Nie masz dostepu do tej komendy!"
--------------------------------------
Nie działa mam SkQuery i takie błędy wyskakują:
--------------------------------------
[16:11:52] [Server thread/ERROR]: [Skript] 'format slot 1 with 1' is not a number (klasy.sk, line 9: format slot 1 with 1 of puste named ""')
[16:11:52] [Server thread/ERROR]: [Skript] 'format slot 2 with 1' is not a number (klasy.sk, line 10: format slot 2 with 1 of puste named ""')
[16:11:52] [Server thread/ERROR]: [Skript] 'format slot 3 with 1' is not a number (klasy.sk, line 11: format slot 3 with 1 of puste named ""')
[16:11:52] [Server thread/ERROR]: [Skript] 'format slot 4 with 1' is not a number (klasy.sk, line 12: format slot 4 with 1 of puste named ""')
[16:11:52] [Server thread/ERROR]: [Skript] '"" to be unsteable' is not a text (klasy.sk, line 13: format slot 5 with 1 of puste named "" to be unsteable')
[16:11:52] [Server thread/ERROR]: [Skript] '"" to be unsteable' is not a text (klasy.sk, line 14: format slot 6 with 1 of puste named "" to be unsteable')
[16:11:52] [Server thread/ERROR]: [Skript] '"" to be unsteable' is not a text (klasy.sk, line 15: format slot 7 with 1 of puste named "" to be unsteable')
[16:11:52] [Server thread/ERROR]: [Skript] '"" to be unsteable' is not a text (klasy.sk, line 16: format slot 8 with 1 of puste named "" to be unsteable')
[16:11:52] [Server thread/ERROR]: [Skript] '"" to be unsteable' is not a text (klasy.sk, line 17: format slot 9 with 1 of puste named "" to be unsteable')
[16:11:52] [Server thread/ERROR]: [Skript] '"" to be unsteable' is not a text (klasy.sk, line 18: format slot 10 with 1 of puste named "" to be unsteable')
[16:11:52] [Server thread/ERROR]: [Skript] '"" to be unsteable' is not a text (klasy.sk, line 19: format slot 11 with 1 of puste named "" to be unsteable')
[16:11:52] [Server thread/ERROR]: [Skript] '"" to be unsteable' is not a text (klasy.sk, line 20: format slot 12 with 1 of puste named "" to be unsteable')
[16:11:52] [Server thread/ERROR]: [Skript] '"&a&lKlasa: &bLucznik %nl% %nl% &6&lCena: &c&l5000$ %nl% &6&lOpis: &8Lucznik posiada luk. %nl% &8Potrafi strzelac. %nl% &8Ma kolcze eq, lecz nie posiada miecza. %nl% %nl% &c> &7Kliknij aby kupic!" to close then run [kuplucznik %player%]' is not a text (klasy.sk, line 21: format slot 13 with 1 of minecraft:bow named "&a&lKlasa: &bLucznik %nl% %nl% &6&lCena: &c&l5000$ %nl% &6&lOpis: &8Lucznik posiada luk. %nl% &8Potrafi strzelac. %nl% &8Ma kolcze eq, lecz nie posiada miecza. %nl% %nl% &c> &7Kliknij aby kupic!" to close then run [kuplucznik %player%]')
[16:11:52] [Server thread/ERROR]: [Skript] '"&a&lKlasa: &bRycerz %nl% %nl% &6&lCena: &c&l7000$ %nl% &6&lOpis: &8Rycerz posiada zlote eq. %nl% Jego miecz ma czar zakletego ognia, ale jest drewniany. %nl% Lepiej mu nie podskakuj! %nl% %nl% &c> &7Kliknij aby kupic!" to close then run [kuprycerz %player%]' is not a text (klasy.sk, line 22: format slot 14 with 1 of minecraft:diamond_sword named "&a&lKlasa: &bRycerz %nl% %nl% &6&lCena: &c&l7000$ %nl% &6&lOpis: &8Rycerz posiada zlote eq. %nl% Jego miecz ma czar zakletego ognia, ale jest drewniany. %nl% Lepiej mu nie podskakuj! %nl% %nl% &c> &7Kliknij aby kupic!" to close then run [kuprycerz %player%]')
[16:11:52] [Server thread/ERROR]: [Skript] '"&a&lKlasa: &bMag ognia %nl% %nl% &6&lCena: &c&l6000$ %nl% &6&lOpis: &8Mag ognia posiada wyjątkową zdolnosc %nl% miotania kulami ognia. %nl% Prócz tego ma żelazny miecz %nl% oraz żelazne eq. %nl% Lepiej uważaj na niego, bo jak Cie strzeli... %nl% %nl% &c> &7Kliknij aby kupic!" to close then run [kupmag %player%]' is not a text (klasy.sk, line 23: format slot 15 with 1 of minecraft:fire_charge named "&a&lKlasa: &bMag ognia %nl% %nl% &6&lCena: &c&l6000$ %nl% &6&lOpis: &8Mag ognia posiada wyjątkową zdolnosc %nl% miotania kulami ognia. %nl% Prócz tego ma żelazny miecz %nl% oraz żelazne eq. %nl% Lepiej uważaj na niego, bo jak Cie strzeli... %nl% %nl% &c> &7Kliknij aby kupic!" to close then run [kupmag %player%]')
[16:11:52] [Server thread/ERROR]: [Skript] '"" to be unsteable' is not a text (klasy.sk, line 24: format slot 16 with 1 of puste named "" to be unsteable')
[16:11:52] [Server thread/ERROR]: [Skript] '"" to be unsteable' is not a text (klasy.sk, line 25: format slot 17 with 1 of puste named "" to be unsteable')
[16:11:52] [Server thread/ERROR]: [Skript] '"" to be unsteable' is not a text (klasy.sk, line 26: format slot 18 with 1 of puste named "" to be unsteable')
[16:11:52] [Server thread/ERROR]: [Skript] '"" to be unsteable' is not a text (klasy.sk, line 27: format slot 19 with 1 of puste named "" to be unsteable')
[16:11:52] [Server thread/ERROR]: [Skript] '"" to be unsteable' is not a text (klasy.sk, line 28: format slot 20 with 1 of puste named "" to be unsteable')
[16:11:52] [Server thread/ERROR]: [Skript] '"" to be unsteable' is not a text (klasy.sk, line 29: format slot 21 with 1 of puste named "" to be unsteable')
[16:11:52] [Server thread/ERROR]: [Skript] '"" to be unsteable' is not a text (klasy.sk, line 30: format slot 22 with 1 of puste named "" to be unsteable')
[16:11:52] [Server thread/ERROR]: [Skript] '"" to be unsteable' is not a text (klasy.sk, line 31: format slot 23 with 1 of puste named "" to be unsteable')
[16:11:52] [Server thread/ERROR]: [Skript] '"" to be unsteable' is not a text (klasy.sk, line 32: format slot 24 with 1 of puste named "" to be unsteable')
[16:11:52] [Server thread/ERROR]: [Skript] '"" to be unsteable' is not a text (klasy.sk, line 33: format slot 25 with 1 of puste named "" to be unsteable')
[16:11:53] [Server thread/ERROR]: [Skript] '"" to be unsteable' is not a text (klasy.sk, line 34: format slot 26 with 1 of puste named "" to be unsteable')
[16:11:53] [Server thread/ERROR]: [Skript] '"" to be unsteable' is not a text (klasy.sk, line 35: format slot 27 with 1 of puste named "" to be unsteable')
Pytanie
gitara17 19
Więc tak: Dzisiaj napisałem na szybko skrypt na gui:
aliases:
puste = 160:7
command /klasa:
trigger:
if player has permission "gymwar.klasa":
open chest with 3 rows named "&b&lKlasy" to player
wait 1 tick
format slot 1 with 1 of puste named "" to be unsteable
format slot 2 with 1 of puste named "" to be unsteable
format slot 3 with 1 of puste named "" to be unsteable
format slot 4 with 1 of puste named "" to be unsteable
format slot 5 with 1 of puste named "" to be unsteable
format slot 6 with 1 of puste named "" to be unsteable
format slot 7 with 1 of puste named "" to be unsteable
format slot 8 with 1 of puste named "" to be unsteable
format slot 9 with 1 of puste named "" to be unsteable
format slot 10 with 1 of puste named "" to be unsteable
format slot 11 with 1 of puste named "" to be unsteable
format slot 12 with 1 of puste named "" to be unsteable
format slot 13 with 1 of minecraft:bow named "&a&lKlasa: &bLucznik %nl% %nl% &6&lCena: &c&l5000$ %nl% &6&lOpis: &8Lucznik posiada luk. %nl% &8Potrafi strzelac. %nl% &8Ma kolcze eq, lecz nie posiada miecza. %nl% %nl% &c> &7Kliknij aby kupic!" to close then run [kuplucznik %player%]
format slot 14 with 1 of minecraft:diamond_sword named "&a&lKlasa: &bRycerz %nl% %nl% &6&lCena: &c&l7000$ %nl% &6&lOpis: &8Rycerz posiada zlote eq. %nl% Jego miecz ma czar zakletego ognia, ale jest drewniany. %nl% Lepiej mu nie podskakuj! %nl% %nl% &c> &7Kliknij aby kupic!" to close then run [kuprycerz %player%]
format slot 15 with 1 of minecraft:fire_charge named "&a&lKlasa: &bMag ognia %nl% %nl% &6&lCena: &c&l6000$ %nl% &6&lOpis: &8Mag ognia posiada wyjątkową zdolnosc %nl% miotania kulami ognia. %nl% Prócz tego ma żelazny miecz %nl% oraz żelazne eq. %nl% Lepiej uważaj na niego, bo jak Cie strzeli... %nl% %nl% &c> &7Kliknij aby kupic!" to close then run [kupmag %player%]
format slot 16 with 1 of puste named "" to be unsteable
format slot 17 with 1 of puste named "" to be unsteable
format slot 18 with 1 of puste named "" to be unsteable
format slot 19 with 1 of puste named "" to be unsteable
format slot 20 with 1 of puste named "" to be unsteable
format slot 21 with 1 of puste named "" to be unsteable
format slot 22 with 1 of puste named "" to be unsteable
format slot 23 with 1 of puste named "" to be unsteable
format slot 24 with 1 of puste named "" to be unsteable
format slot 25 with 1 of puste named "" to be unsteable
format slot 26 with 1 of puste named "" to be unsteable
format slot 27 with 1 of puste named "" to be unsteable
else:
send "&c> &7Nie masz dostepu do tej komendy!"
--------------------------------------
Nie działa mam SkQuery i takie błędy wyskakują:
--------------------------------------
[16:11:52] [Server thread/ERROR]: [Skript] 'format slot 1 with 1' is not a number (klasy.sk, line 9: format slot 1 with 1 of puste named ""')
[16:11:52] [Server thread/ERROR]: [Skript] 'format slot 2 with 1' is not a number (klasy.sk, line 10: format slot 2 with 1 of puste named ""')
[16:11:52] [Server thread/ERROR]: [Skript] 'format slot 3 with 1' is not a number (klasy.sk, line 11: format slot 3 with 1 of puste named ""')
[16:11:52] [Server thread/ERROR]: [Skript] 'format slot 4 with 1' is not a number (klasy.sk, line 12: format slot 4 with 1 of puste named ""')
[16:11:52] [Server thread/ERROR]: [Skript] '"" to be unsteable' is not a text (klasy.sk, line 13: format slot 5 with 1 of puste named "" to be unsteable')
[16:11:52] [Server thread/ERROR]: [Skript] '"" to be unsteable' is not a text (klasy.sk, line 14: format slot 6 with 1 of puste named "" to be unsteable')
[16:11:52] [Server thread/ERROR]: [Skript] '"" to be unsteable' is not a text (klasy.sk, line 15: format slot 7 with 1 of puste named "" to be unsteable')
[16:11:52] [Server thread/ERROR]: [Skript] '"" to be unsteable' is not a text (klasy.sk, line 16: format slot 8 with 1 of puste named "" to be unsteable')
[16:11:52] [Server thread/ERROR]: [Skript] '"" to be unsteable' is not a text (klasy.sk, line 17: format slot 9 with 1 of puste named "" to be unsteable')
[16:11:52] [Server thread/ERROR]: [Skript] '"" to be unsteable' is not a text (klasy.sk, line 18: format slot 10 with 1 of puste named "" to be unsteable')
[16:11:52] [Server thread/ERROR]: [Skript] '"" to be unsteable' is not a text (klasy.sk, line 19: format slot 11 with 1 of puste named "" to be unsteable')
[16:11:52] [Server thread/ERROR]: [Skript] '"" to be unsteable' is not a text (klasy.sk, line 20: format slot 12 with 1 of puste named "" to be unsteable')
[16:11:52] [Server thread/ERROR]: [Skript] '"&a&lKlasa: &bLucznik %nl% %nl% &6&lCena: &c&l5000$ %nl% &6&lOpis: &8Lucznik posiada luk. %nl% &8Potrafi strzelac. %nl% &8Ma kolcze eq, lecz nie posiada miecza. %nl% %nl% &c> &7Kliknij aby kupic!" to close then run [kuplucznik %player%]' is not a text (klasy.sk, line 21: format slot 13 with 1 of minecraft:bow named "&a&lKlasa: &bLucznik %nl% %nl% &6&lCena: &c&l5000$ %nl% &6&lOpis: &8Lucznik posiada luk. %nl% &8Potrafi strzelac. %nl% &8Ma kolcze eq, lecz nie posiada miecza. %nl% %nl% &c> &7Kliknij aby kupic!" to close then run [kuplucznik %player%]')
[16:11:52] [Server thread/ERROR]: [Skript] '"&a&lKlasa: &bRycerz %nl% %nl% &6&lCena: &c&l7000$ %nl% &6&lOpis: &8Rycerz posiada zlote eq. %nl% Jego miecz ma czar zakletego ognia, ale jest drewniany. %nl% Lepiej mu nie podskakuj! %nl% %nl% &c> &7Kliknij aby kupic!" to close then run [kuprycerz %player%]' is not a text (klasy.sk, line 22: format slot 14 with 1 of minecraft:diamond_sword named "&a&lKlasa: &bRycerz %nl% %nl% &6&lCena: &c&l7000$ %nl% &6&lOpis: &8Rycerz posiada zlote eq. %nl% Jego miecz ma czar zakletego ognia, ale jest drewniany. %nl% Lepiej mu nie podskakuj! %nl% %nl% &c> &7Kliknij aby kupic!" to close then run [kuprycerz %player%]')
[16:11:52] [Server thread/ERROR]: [Skript] '"&a&lKlasa: &bMag ognia %nl% %nl% &6&lCena: &c&l6000$ %nl% &6&lOpis: &8Mag ognia posiada wyjątkową zdolnosc %nl% miotania kulami ognia. %nl% Prócz tego ma żelazny miecz %nl% oraz żelazne eq. %nl% Lepiej uważaj na niego, bo jak Cie strzeli... %nl% %nl% &c> &7Kliknij aby kupic!" to close then run [kupmag %player%]' is not a text (klasy.sk, line 23: format slot 15 with 1 of minecraft:fire_charge named "&a&lKlasa: &bMag ognia %nl% %nl% &6&lCena: &c&l6000$ %nl% &6&lOpis: &8Mag ognia posiada wyjątkową zdolnosc %nl% miotania kulami ognia. %nl% Prócz tego ma żelazny miecz %nl% oraz żelazne eq. %nl% Lepiej uważaj na niego, bo jak Cie strzeli... %nl% %nl% &c> &7Kliknij aby kupic!" to close then run [kupmag %player%]')
[16:11:52] [Server thread/ERROR]: [Skript] '"" to be unsteable' is not a text (klasy.sk, line 24: format slot 16 with 1 of puste named "" to be unsteable')
[16:11:52] [Server thread/ERROR]: [Skript] '"" to be unsteable' is not a text (klasy.sk, line 25: format slot 17 with 1 of puste named "" to be unsteable')
[16:11:52] [Server thread/ERROR]: [Skript] '"" to be unsteable' is not a text (klasy.sk, line 26: format slot 18 with 1 of puste named "" to be unsteable')
[16:11:52] [Server thread/ERROR]: [Skript] '"" to be unsteable' is not a text (klasy.sk, line 27: format slot 19 with 1 of puste named "" to be unsteable')
[16:11:52] [Server thread/ERROR]: [Skript] '"" to be unsteable' is not a text (klasy.sk, line 28: format slot 20 with 1 of puste named "" to be unsteable')
[16:11:52] [Server thread/ERROR]: [Skript] '"" to be unsteable' is not a text (klasy.sk, line 29: format slot 21 with 1 of puste named "" to be unsteable')
[16:11:52] [Server thread/ERROR]: [Skript] '"" to be unsteable' is not a text (klasy.sk, line 30: format slot 22 with 1 of puste named "" to be unsteable')
[16:11:52] [Server thread/ERROR]: [Skript] '"" to be unsteable' is not a text (klasy.sk, line 31: format slot 23 with 1 of puste named "" to be unsteable')
[16:11:52] [Server thread/ERROR]: [Skript] '"" to be unsteable' is not a text (klasy.sk, line 32: format slot 24 with 1 of puste named "" to be unsteable')
[16:11:52] [Server thread/ERROR]: [Skript] '"" to be unsteable' is not a text (klasy.sk, line 33: format slot 25 with 1 of puste named "" to be unsteable')
[16:11:53] [Server thread/ERROR]: [Skript] '"" to be unsteable' is not a text (klasy.sk, line 34: format slot 26 with 1 of puste named "" to be unsteable')
[16:11:53] [Server thread/ERROR]: [Skript] '"" to be unsteable' is not a text (klasy.sk, line 35: format slot 27 with 1 of puste named "" to be unsteable')
===================
POMÓŻCIE!!! HELP!!!! PLS!!!
Odnośnik do komentarza
Udostępnij na innych stronach
17 odpowiedzi na to pytanie
Rekomendowane odpowiedzi