Dzień dobry, mam problem ponieważ nie działa mi GUI (na dwie strony wg. poradnika z forum od Norbiego, przy ładowaniu skryptu nie ma błędów.) Jak zrobić aby ten kod działał?
Spoiler
command /otworz:
trigger:
execute console command "adminpanel %player% 1"
command /adminpanel [<player>] [<integer>]:
executable by: console
trigger:
if arg 2 is 1:
wait 1 tick
open chest with 6 rows named "Panel Administratora" to player
wait 1 tick
format slot 13 of player-arg with wooden pickaxe named "&a&lAdminPanel" with lore "&6By: Kaakaomuffini" to be unstealable
format slot 53 of player-arg with paper named "&9&lInfo" with lore "||&2This skript is||&2meant to be||&2used with Essentials plugin||&6If you prefer||&6without Essential plugin||&6some of the features||&6might not work!" to be unstealable
format slot 10 of player-arg with clock named "&e&lDzien" with lore "&cRobi dzien na swiecie na ktorym aktualnie jestes." to run [execute player-arg command "time set day"]
format slot 11 of player-arg with clock named "&e&lDzien" with lore "&cRobi dzien na wszystkich swiatach na serwerze" to run [execute player-arg command "day day all"]
format slot 18 of player-arg with sunflower named "&e&lSunny" to run [execute player-arg command "weather clear"]
format slot 19 of player-arg with water bucket named "&9&lStorm" to run [execute player-arg command "weather storm"]
format slot 27 of player-arg with iron sword named "&6&lRemove Mobs" to run [execute player-arg command "mobkill all"]
format slot 28 of player-arg with milk bucket named "&6&lRemove Effects" to run [execute player-arg command "effect %player% clear"]
format slot 30 of player-arg with 1 of book named "&cVanish" to run [execute player-arg command "vanish"]
format slot 31 of player-arg with 1 of book named "&cCzat On" to run [execute player-arg command "chat on"]
format slot 32 of player-arg with 1 of book named "&cCzat Off" to run [execute player-arg command "chat off"]
format slot 33 of player-arg with 1 of book named "&cCzat Clear" to run [execute player-arg command "chat clear"]
format slot 34 of player-arg with 1 of bone named "&cZabij wszystkie moby" to run [execute player-arg command "butcher"]
format slot 36 of player-arg with 2 of nether star named "Strona: 2" with lore "Kliknij, aby przejsc na 1 strone." to run "menu %player-arg% 2"
if arg 2 is 2:
wait 1 tick
open chest with 1 rows named "Menu - Poradnik (2/2)" to player-arg
wait 1 tick
format slot 1 of player-arg with 1 of arrow named "Strzala bez kakala" with lore "Ta strzala nie ma kakala." to be unstealable
format slot 8 of player-arg with 2 of nether star named "Strona: 1" with lore "Kliknij, aby przejsc na 1 strone." to run "menu %player-arg% 1"
Pytanie
Nieaktywny
Dzień dobry, mam problem ponieważ nie działa mi GUI (na dwie strony wg. poradnika z forum od Norbiego, przy ładowaniu skryptu nie ma błędów.) Jak zrobić aby ten kod działał?
command /otworz:
trigger:
execute console command "adminpanel %player% 1"
command /adminpanel [<player>] [<integer>]:
executable by: console
trigger:
if arg 2 is 1:
wait 1 tick
open chest with 6 rows named "Panel Administratora" to player
wait 1 tick
format slot 13 of player-arg with wooden pickaxe named "&a&lAdminPanel" with lore "&6By: Kaakaomuffini" to be unstealable
format slot 53 of player-arg with paper named "&9&lInfo" with lore "||&2This skript is||&2meant to be||&2used with Essentials plugin||&6If you prefer||&6without Essential plugin||&6some of the features||&6might not work!" to be unstealable
format slot 10 of player-arg with clock named "&e&lDzien" with lore "&cRobi dzien na swiecie na ktorym aktualnie jestes." to run [execute player-arg command "time set day"]
format slot 11 of player-arg with clock named "&e&lDzien" with lore "&cRobi dzien na wszystkich swiatach na serwerze" to run [execute player-arg command "day day all"]
format slot 18 of player-arg with sunflower named "&e&lSunny" to run [execute player-arg command "weather clear"]
format slot 19 of player-arg with water bucket named "&9&lStorm" to run [execute player-arg command "weather storm"]
format slot 27 of player-arg with iron sword named "&6&lRemove Mobs" to run [execute player-arg command "mobkill all"]
format slot 28 of player-arg with milk bucket named "&6&lRemove Effects" to run [execute player-arg command "effect %player% clear"]
format slot 30 of player-arg with 1 of book named "&cVanish" to run [execute player-arg command "vanish"]
format slot 31 of player-arg with 1 of book named "&cCzat On" to run [execute player-arg command "chat on"]
format slot 32 of player-arg with 1 of book named "&cCzat Off" to run [execute player-arg command "chat off"]
format slot 33 of player-arg with 1 of book named "&cCzat Clear" to run [execute player-arg command "chat clear"]
format slot 34 of player-arg with 1 of bone named "&cZabij wszystkie moby" to run [execute player-arg command "butcher"]
format slot 36 of player-arg with 2 of nether star named "Strona: 2" with lore "Kliknij, aby przejsc na 1 strone." to run "menu %player-arg% 2"
if arg 2 is 2:
wait 1 tick
open chest with 1 rows named "Menu - Poradnik (2/2)" to player-arg
wait 1 tick
format slot 1 of player-arg with 1 of arrow named "Strzala bez kakala" with lore "Ta strzala nie ma kakala." to be unstealable
format slot 8 of player-arg with 2 of nether star named "Strona: 1" with lore "Kliknij, aby przejsc na 1 strone." to run "menu %player-arg% 1"
Edytowane przez NieaktywnyOdnośnik do komentarza
https://skript.pl/temat/20245-gui-nie-dzia%C5%82a-wg-poradnika-ver-1112/Udostępnij na innych stronach
1 odpowiedź na to pytanie
Rekomendowane odpowiedzi