on rightclick:
if player don't have permission "axe.wale":
if {cooldown::thor} is not 20:
if {axe::%player%} is 20:
send "&4>>&6Zużyłeś swój limit!"
stop
else:
if player have permission "axe.wale":
if player is holding a golden axe named "&4Młot thora!":
strike lightning at the targeted entity
else:
if player is holding a golden axe named "&4Młot thora!":
strike lightning at the targeted entity
add 1 to {axe::%player%}
else:
if player is holding a golden axe named "&4Młot thora!":
strike lightning at the targeted entity
add 1 to {axe::%player%}
else:
if player have permission "axe.wale":
if player is holding a golden axe named "&4Młot thora!":
strike lightning at the targeted entity
every second:
if {axe::%player%} is 20:
add 1 to {cooldown::thor}
if {cooldown::thor} is 20:
clear {cooldown::thor}
Na linijce z "if {axe::%player%} is 20:" jest błąd "There's no world in a periodic event if no world is given in the event (e.g. like 'every hour in "world"') (thor.sk, line 26: if {axe::%player%} is 20:')". Czy robię coś źle?
Pytanie
C4LLM3P3T3R 4
on rightclick: if player don't have permission "axe.wale": if {cooldown::thor} is not 20: if {axe::%player%} is 20: send "&4>>&6Zużyłeś swój limit!" stop else: if player have permission "axe.wale": if player is holding a golden axe named "&4Młot thora!": strike lightning at the targeted entity else: if player is holding a golden axe named "&4Młot thora!": strike lightning at the targeted entity add 1 to {axe::%player%} else: if player is holding a golden axe named "&4Młot thora!": strike lightning at the targeted entity add 1 to {axe::%player%} else: if player have permission "axe.wale": if player is holding a golden axe named "&4Młot thora!": strike lightning at the targeted entity every second: if {axe::%player%} is 20: add 1 to {cooldown::thor} if {cooldown::thor} is 20: clear {cooldown::thor}
Na linijce z "if {axe::%player%} is 20:" jest błąd "There's no world in a periodic event if no world is given in the event (e.g. like 'every hour in "world"') (thor.sk, line 26: if {axe::%player%} is 20:')". Czy robię coś źle?
Odnośnik do komentarza
Udostępnij na innych stronach
3 odpowiedzi na to pytanie
Rekomendowane odpowiedzi