Witam mam taki problem że gdy mam If player doesn't have "VIP": i wgl to pisze mi ze mam vipa mimo że mam range gracz
KOD:
command /kupvip:
trigger:
if player doesn't have permission "VIP":
if {hajs::%player%} >= 600:
execute console command "setrank %player% VIP 30 day"
remove 600 from {hajs::%player%}
send player title "" with subtitle "&8» &7Zakupiles range: &aVIPA . &8(&c-600 COINS!&8)"
send "&8» &7Zakupiles range: &aVIPA . &8(&c-600 COINS!&8)" to player
send " &7» &6%player% &7Kupil &aVIPA za $! Tez chcesz? Wpisz /sklep!" to all players
stop
else:
send player title "" with subtitle "&4Blad: &cNie posiadasz tylu Coinsow! (600)"
send "&4Blad: &cNie posiadasz tylu Coinsow (600)" to player
stop
else:
send player title "" with subtitle "&4Blad: &cPrzeciez juz masz VIPA"
send "&4Blad: &cPrzeciez juz masz &aVIPA ..." to player
stop
Pytanie
jndooo 9
Witam mam taki problem że gdy mam If player doesn't have "VIP": i wgl to pisze mi ze mam vipa mimo że mam range gracz
KOD:
command /kupvip: trigger: if player doesn't have permission "VIP": if {hajs::%player%} >= 600: execute console command "setrank %player% VIP 30 day" remove 600 from {hajs::%player%} send player title "" with subtitle "&8» &7Zakupiles range: &aVIPA . &8(&c-600 COINS!&8)" send "&8» &7Zakupiles range: &aVIPA . &8(&c-600 COINS!&8)" to player send " &7» &6%player% &7Kupil &aVIPA za $! Tez chcesz? Wpisz /sklep!" to all players stop else: send player title "" with subtitle "&4Blad: &cNie posiadasz tylu Coinsow! (600)" send "&4Blad: &cNie posiadasz tylu Coinsow (600)" to player stop else: send player title "" with subtitle "&4Blad: &cPrzeciez juz masz VIPA" send "&4Blad: &cPrzeciez juz masz &aVIPA ..." to player stopOdnośnik do komentarza
https://skript.pl/temat/36777-b%C5%82ad-z-if-player/Udostępnij na innych stronach
5 odpowiedzi na to pytanie
Rekomendowane odpowiedzi