Cześć, jest ktoś wstanie mi pomóc? gdyż potrzebuje zrobić komendę która będzie działać tylko na danych koordynatach oraz bedzie trzeba mieć 500pkt xp lub więcej (potem oczywiście ten xp zabrać)
Odrazu wielkie dzięki za pomoc.
Mam problem ze skryptem który wysyła powiadomienia o wykopaniu przez kogoś rud.
variables:
ax = true
on break diamond ore:
loop all players:
if loop-player has permission "xray.wiadomosc":
if {ax.%player%} is true:
send "&7[&cX-ray&7] &6Gracz %player% wykopal diament!"
else:
cancel event
on break gold ore:
loop all players:
if loop-player has permission "xray.wiadomosc":
if {ax.%player%} is true:
send "&7[&cX-ray&7] &6Gracz %player% wykopal zloto!"
else:
cancel event
on break emerald ore:
loop all players:
if loop-player has permission "xray.wiadomosc":
if {ax.%player%} is true:
send "&7[&cX-ray&7] &6Gracz %player% wykopal emerald!"
else:
cancel event
on break ancient debris:
loop all players:
if loop-player has permission "xray.wiadomosc":
if {ax.%player%} is true:
send "&7[&cX-ray&7] &6Gracz %player% wykopal netherite!"
else:
cancel event
on command /ax [<text>]:
trigger:
if arg 1 is "on":
set {ax.%player%} to true
send "&7[&cX-ray&7] &6Wylaczono powiadomienia xray"
if arg 1 is "off":
set {ax.%player%} to false
tak wygląda skrypt błędy które się pojawiają to:m
Proszę was o pomoc.