Witam mam problem poniewaz gdy klikne na ksiazke itemshop to przenosi dalej a gdy klikne na ten papier to wyciaga sie przedmiot i mozna go miec w ekwipunku i prosze o naprawienie tego z gory dziekuje
kod
on rightclick on player:
if name of entity is "&bGeneral":
open chest with 1 row named "General" to player
wait a tick
format slot 3 of player with 1 of book named "&dItemShop" to run [make player execute "itemshop1"]
command /itemshop1:
trigger:
wait 3 tick
open chest with 1 row named "&5Itemshop" to player
format slot 0 of player with 1 of paper named "&3&lOdblokowanie Rangi General" with lore "&3Koszt: &c300 monet itemshop" to close then run [make player execute "1"]
Pytanie
ResidentEvil1337 2
Witam mam problem poniewaz gdy klikne na ksiazke itemshop to przenosi dalej a gdy klikne na ten papier to wyciaga sie przedmiot i mozna go miec w ekwipunku i prosze o naprawienie tego z gory dziekuje
kod
on rightclick on player:
if name of entity is "&bGeneral":
open chest with 1 row named "General" to player
wait a tick
format slot 3 of player with 1 of book named "&dItemShop" to run [make player execute "itemshop1"]
command /itemshop1:
trigger:
wait 3 tick
open chest with 1 row named "&5Itemshop" to player
format slot 0 of player with 1 of paper named "&3&lOdblokowanie Rangi General" with lore "&3Koszt: &c300 monet itemshop" to close then run [make player execute "1"]
Odnośnik do komentarza
https://skript.pl/temat/16219-mozna-wyciaga-przedmioty-z-gui/Udostępnij na innych stronach
2 odpowiedzi na to pytanie
Rekomendowane odpowiedzi