#scriptevent message dont work with applyDamage
1 messages · Page 1 of 1 (latest)
how i can fix this?
you need a different approach
ok
entity.applyDamage(+msg || 0)
+msg tries to turn the variable into number, and when it's NaN it'll continue with || 0
thx