format slot jest zbugowane...
uzyj set player's current inventory's slot <slot> to <item>
a jeżeli nie to to powinno zadziałać
on inventory click:
if inventory name of current inventory of player is "nazwa gui":
cancel event
jeżeli chcesz aby zamykało gui:
on inventory click:
if inventory name of current inventory of player is "nazwa gui":
cancel event
close player's inventory
jeżeli chcesz aby gui zamykało sie tylko jeżeli kliknietym itemem jest jakiś przedmiot nie powietrze:
on inventory click:
if inventory name of current inventory of player is "nazwa gui":
cancel event
if player's current inventory's slot slot is not air:
close player's inventory
aby wykonywało komendę:
on inventory click:
if inventory name of current inventory of player is "nazwa gui":
cancel event
if player's current inventory's slot slot is not air:
close player's inventory
execute player command "komenda"
Pomogłem? zaznacz moją odpowiedz jako najepsza
Nie rozumiesz? napisz pod tematem albo na pw!