Jak pewnie wiecie w skqery kiedy po poleceniu format wpiszemy "[...]to close then run "komenda"" GUI zostanie zamknięte i zostanie wykonana ta komenda...
Przez konsolę. No właśnie. Chciałbym żeby ta komenda została wykonana przez gracza, a nie konsolę.
Oto skrypt z którym mam problem:
command /zestawy:trigger:
open chest with 1 rows named "&8[ &3MDropHC.pl &8] &7- &r&lKITY" to player
format slot 0 of player with 1 of chainmail boots named "&7&lKIT GRACZ" to close then run "kitywguigracz"
format slot 1 of player with 1 of iron boots named "&e&lKIT VIP" to close then run "kitywguivip"
format slot 2 of player with 1 of iron boots named "&6&lKIT &e&ls&6&lVIP" to close then run "kitywguisvip"
format slot 3 of player with 1 of iron boots named "&3&lKIT SPONSOR" to close then run "kitywguisponsor"
format slot 4 of player with 1 of white glass pane named " " to be unstealable
format slot 5 of player with 1 of white glass pane named " " to be unstealable
format slot 6 of player with 1 of white glass pane named " " to be unstealable
format slot 7 of player with 1 of white glass pane named " " to be unstealable
format slot 8 of player with 1 of white glass pane named " " to be unstealable
command /kitywguigracz:trigger:
give 1 diamond pickaxe of efficiency 3 named "&7&lKIT GRACZ" to player
give 1 boat named "&7&lKIT GRACZ" to player
give 1 ender chest named "&7&lKIT GRACZ" to player
command /kitywguivip:trigger:
if player has permission "kitywgui.vip":
give 1 diamond pickaxe of efficiency 5 named "&e&lKIT VIP" to player
give 1 diamond sword of fire aspect 2 named "&e&lKIT VIP" to player
give 1 diamond shovel of efficiency 5 named "&e&lKIT VIP" to player
give 1 diamond helmet of protection 4 named "&e&lKIT VIP" to player
give 1 diamond chestplate of protection 4 named "&e&lKIT VIP" to player
give 1 diamond leggings of protection 4 named "&e&lKIT VIP" to player
give 1 diamond boots of protection 4 named "&e&lKIT VIP" to player
give 3 enchanted golden apple named "&e&lKIT VIP" to player
give 5 golden apple named "&e&lKIT VIP" to player
else:
send "&4Brak Permisji!" to player
Pytanie
TermitCG 8
Cześć!
Jak pewnie wiecie w skqery kiedy po poleceniu format wpiszemy "[...]to close then run "komenda"" GUI zostanie zamknięte i zostanie wykonana ta komenda...
Przez konsolę. No właśnie. Chciałbym żeby ta komenda została wykonana przez gracza, a nie konsolę.
Oto skrypt z którym mam problem:
NAGRODA ZA POMOC: Like.
Edytowane przez KurotsuwaOdnośnik do komentarza
https://skript.pl/temat/34253-problem-z-skquery/Udostępnij na innych stronach
8 odpowiedzi na to pytanie
Rekomendowane odpowiedzi