me azeks and i want knau whai this code not work!
i want full hp when shot but i no full hp
1
2
3
4
2
3
4
functon shot() if do shoot == enemy hurt then make player == full.hp end
I TRY EVERY!
functon shot() if do shoot == enemy hurt then make player == full.hp end
-- alternative 1: hits do 0 damage. adhook('hit', 'hit') function hit(id) return 1 end -- alternative 2: you lose health and quickly recover it. adhook('hit', 'hit') function hit(id, sc, wp, hp) timer(200, 'heal', 'sethealth '..tostring(id)..' '..tostring(player(id, 'health') + hp)) return 0 end function heal(arg) parse(arg) end