Witam . mam problem tak jak w temacie mam skrypta na sklep w gui . po wskianiu../sklep otiera się gui ze sklepem lecz po nacisnieciu jakiegoś itema następne gui nie otwiera sie
command /sklep:
trigger:
open chest with 1 row named "&cSklep z rangami" to player
format slot 0 of player with 1 hopper named "&cWyjscie" to close
format slot 2 of player with 1 41 named "&6&lVip 2 dni" to close then run [make player execute command "/vip2d"]
command /vip2d:
trigger:
open chest with 1 row named "&cSklep z rangami" to player
format slot 0 of player with 1 hopper named "&cWyjscie" to close
format slot 2 of player with 1 wool:5 named "&aAkceptuje zakup" to close then run [make player execute command "/kupvip2d"]
command /kupvip2d:
trigger:
if {kasa::%player%} is 5:
remove 5 from {kasa::%player%}
execute console command "/pex user %player% group add Vip * 60"
send "&a&lZakupiłeś range vip na 2 dni" to player
else:
send "&c&l Nie posiadasz tyle pieniedzy aby zakupic tą usługe" to player
Pytanie
thesochac 3
Witam . mam problem tak jak w temacie mam skrypta na sklep w gui . po wskianiu../sklep otiera się gui ze sklepem lecz po nacisnieciu jakiegoś itema następne gui nie otwiera sie
command /sklep: trigger: open chest with 1 row named "&cSklep z rangami" to player format slot 0 of player with 1 hopper named "&cWyjscie" to close format slot 2 of player with 1 41 named "&6&lVip 2 dni" to close then run [make player execute command "/vip2d"] command /vip2d: trigger: open chest with 1 row named "&cSklep z rangami" to player format slot 0 of player with 1 hopper named "&cWyjscie" to close format slot 2 of player with 1 wool:5 named "&aAkceptuje zakup" to close then run [make player execute command "/kupvip2d"] command /kupvip2d: trigger: if {kasa::%player%} is 5: remove 5 from {kasa::%player%} execute console command "/pex user %player% group add Vip * 60" send "&a&lZakupiłeś range vip na 2 dni" to player else: send "&c&l Nie posiadasz tyle pieniedzy aby zakupic tą usługe" to playerKod wstawiam w odpowiednie znaczniki
Notatka dodana przez bvcz
Odnośnik do komentarza
https://skript.pl/temat/33173-nastepne-gui-nie-otwiera-sie/Udostępnij na innych stronach
2 odpowiedzi na to pytanie
Rekomendowane odpowiedzi
Dołącz do dyskusji
Możesz dodać zawartość już teraz a zarejestrować się później. Jeśli posiadasz już konto, zaloguj się aby dodać zawartość za jego pomocą.