My problem is when I killed the horse It's drops leather and his saddle.
But it's shouldn't happen when I set the health of the horse to 0.
It's worked before, but now it's not working, still dropping the items.
https://docs.skunity.com/syntax/effects/Kill
But it's shouldn't happen when I set the health of the horse to 0.
It's worked before, but now it's not working, still dropping the items.
code_language.skript:
on vehicle exit:
set {mh.%player%} to false
wait 3 tick
loop all animals:
if name of loop-value is "&c&l%player%'s horse":
set the health of loop-value to 0
https://docs.skunity.com/syntax/effects/Kill
Last edited: