Istnieje sposób na otwarcie dla gracza GUI craftingu tak jak to robimy ze skrzynką kowadłem czy tabliczką gdy mamy przeróżne addony?
@edit:
znalazlem w dokumentacji sposób na otwarcie tego gui dla gracza ale jak wstawić coś do tego craftingu tak jak do gui skrzynki?
command /cake:
trigger:
set {cośtam} to workbench inventory
set slot 1 of {cośtam} to blue stained glass pane named "&7"
show {cośtam} to player
set slot nie działa daje pusty crafting
chodzi mi o to że chciałbym w ten sposób pokazywać graczom custom receptury dodane do naszego serwera
@edit 2:
command /cake:
trigger:
set {_cośtam} to workbench inventory named "cos"
set slot 0 of {_cośtam} to blue stained glass pane named "&7"
show {_cośtam} to player
daje mi szybe w slocie z którego się bierze item
@edit 3:
Mam coś takiego i działa:
command /cake:
trigger:
set {_cośtam} to workbench inventory named "CustomCraft - Nitka"
set slot 0 of {_cośtam} to string
show {_cośtam} to player
set player's current inventory's slot 1 to white wool
set player's current inventory's slot 2 to air
set player's current inventory's slot 3 to air
set player's current inventory's slot 4 to air
set player's current inventory's slot 5 to air
set player's current inventory's slot 6 to air
set player's current inventory's slot 7 to air
set player's current inventory's slot 8 to air
set player's current inventory's slot 9 to air
on inventory click:
event-inventory is not player's inventory
if name of event-inventory contain "CustomCraft":
cancel event
Ma ktoś lepsze rozwiązanie? (oczywiście sloty z powietrzem nie sa potrzebne po prostu testowalem po kolei sloty
Pytanie
Saanjuk 50
Istnieje sposób na otwarcie dla gracza GUI craftingu tak jak to robimy ze skrzynką kowadłem czy tabliczką gdy mamy przeróżne addony?

@edit:
znalazlem w dokumentacji sposób na otwarcie tego gui dla gracza ale jak wstawić coś do tego craftingu tak jak do gui skrzynki?
command /cake: trigger: set {cośtam} to workbench inventory set slot 1 of {cośtam} to blue stained glass pane named "&7" show {cośtam} to playerset slot nie działa daje pusty crafting
chodzi mi o to że chciałbym w ten sposób pokazywać graczom custom receptury dodane do naszego serwera
@edit 2:
command /cake: trigger: set {_cośtam} to workbench inventory named "cos" set slot 0 of {_cośtam} to blue stained glass pane named "&7" show {_cośtam} to playerdaje mi szybe w slocie z którego się bierze item
@edit 3:
Mam coś takiego i działa:
command /cake: trigger: set {_cośtam} to workbench inventory named "CustomCraft - Nitka" set slot 0 of {_cośtam} to string show {_cośtam} to player set player's current inventory's slot 1 to white wool set player's current inventory's slot 2 to air set player's current inventory's slot 3 to air set player's current inventory's slot 4 to air set player's current inventory's slot 5 to air set player's current inventory's slot 6 to air set player's current inventory's slot 7 to air set player's current inventory's slot 8 to air set player's current inventory's slot 9 to air on inventory click: event-inventory is not player's inventory if name of event-inventory contain "CustomCraft": cancel eventMa ktoś lepsze rozwiązanie? (oczywiście sloty z powietrzem nie sa potrzebne po prostu testowalem po kolei sloty
Edytowane przez SaanjukOdnośnik do komentarza
https://skript.pl/temat/54129-worbench-gui/Udostępnij na innych stronach
2 odpowiedzi na to pytanie
Rekomendowane odpowiedzi