np /gui otwiera gui z itemem i jak klikniejsz ten item to otwiera drugie gui bez zadnych itemow
to moj skrypt i nie wiem czemu nie dziala:
command /quests:
trigger:
set {_gui} to a new chest inventory with 5 row with name "Gui Test"
set slot 0 of {_gui} to stone
set {_quest1} to a new chest inventory with 5 row with name "Gui Test"
set slot 0 of {_quest1} to iron ore
open {_quest1} to player
on inventory click:
if name of event-inventory is "Gui Test":
if index of event-slot = 0:
cancel event
close player's inventory
wait 20 ticks
open {_quest1} to player
Pytanie
APCishere 2
np /gui otwiera gui z itemem i jak klikniejsz ten item to otwiera drugie gui bez zadnych itemow
to moj skrypt i nie wiem czemu nie dziala:
command /quests:
trigger:
set {_gui} to a new chest inventory with 5 row with name "Gui Test"
set slot 0 of {_gui} to stone
set {_quest1} to a new chest inventory with 5 row with name "Gui Test"
set slot 0 of {_quest1} to iron ore
open {_quest1} to player
on inventory click:
if name of event-inventory is "Gui Test":
if index of event-slot = 0:
cancel event
close player's inventory
wait 20 ticks
open {_quest1} to player
Odnośnik do komentarza
Udostępnij na innych stronach
6 odpowiedzi na to pytanie
Rekomendowane odpowiedzi