Siemka, gdy klikne na item 351:5 o nazwie: &6Pierscionek lore:&3+ &71 szybkosci
powinien ten item sie wstawic do /menu ale nie wiem dlaczego on sie tam nie wstawia, osoba która mi pomoże spam lajkami
command /menu:
trigger:
open chest with 4 rows named "&3&lMenu" to player
wait 2 ticks
format slot 7 of player with 1 of book named "&6&lAmulet" with lore "&7Kliknij aby zdjac" to run ""
format slot 16 of player with 1 of book named "&6&lPierścionek" with lore "&7Kliknij aby zdjac" to run ""
format slot 25 of player with 1 of book named "&6&lNaszyjnik" with lore "&7Kliknij aby zdjac" to run ""
format slot 34 of player with 1 of book named "&6&lKsiega" with lore "&7Kliknij aby zdjac" to run ""
format slot 8 of player with 1 of {p.item.%player%} named "%{p.name.%player%}%" with lore "%{p.lore.%player%}%" to run ""
format slot 17 of player with 1 of 102 named "&7Brak" with lore "" to run ""
format slot 26 of player with 1 of 102 named "&7Brak" with lore "" to run ""
format slot 35 of player with 1 of 102 named "&7Brak" with lore "" to run ""
stop
variables:
{p.%player%} = false
on rightclick:
if player's tool is 351:5 named "&6Pierscionek" with lore "||&3+ &71 szybkosci":
set {p.%player%} to true
set {p.name.%player%} to "%name of the player's tool%"
set {p.lore.%player%} to "%lore of the player's tool%"
set {p.item.%player%} to "351:5"
send "&6Zalozyles pierscionek."
send "%id of the player's tool%"
Pytanie
Klaudiusz258 4
Siemka, gdy klikne na item 351:5 o nazwie: &6Pierscionek lore:&3+ &71 szybkosci
powinien ten item sie wstawic do /menu ale nie wiem dlaczego on sie tam nie wstawia, osoba która mi pomoże spam lajkami
command /menu: trigger: open chest with 4 rows named "&3&lMenu" to player wait 2 ticks format slot 7 of player with 1 of book named "&6&lAmulet" with lore "&7Kliknij aby zdjac" to run "" format slot 16 of player with 1 of book named "&6&lPierścionek" with lore "&7Kliknij aby zdjac" to run "" format slot 25 of player with 1 of book named "&6&lNaszyjnik" with lore "&7Kliknij aby zdjac" to run "" format slot 34 of player with 1 of book named "&6&lKsiega" with lore "&7Kliknij aby zdjac" to run "" format slot 8 of player with 1 of {p.item.%player%} named "%{p.name.%player%}%" with lore "%{p.lore.%player%}%" to run "" format slot 17 of player with 1 of 102 named "&7Brak" with lore "" to run "" format slot 26 of player with 1 of 102 named "&7Brak" with lore "" to run "" format slot 35 of player with 1 of 102 named "&7Brak" with lore "" to run "" stop variables: {p.%player%} = false on rightclick: if player's tool is 351:5 named "&6Pierscionek" with lore "||&3+ &71 szybkosci": set {p.%player%} to true set {p.name.%player%} to "%name of the player's tool%" set {p.lore.%player%} to "%lore of the player's tool%" set {p.item.%player%} to "351:5" send "&6Zalozyles pierscionek." send "%id of the player's tool%"Odnośnik do komentarza
https://skript.pl/temat/11390-zmiana-itemu-w-gui/Udostępnij na innych stronach
2 odpowiedzi na to pytanie
Rekomendowane odpowiedzi