Jump to content

[Help] onPlayerDamage


Stranger

Recommended Posts

hello guys

i have problem with this code:

mm = createMarker(4, 4, 4, "cylinder", 2, 255, 0, 0, 170) 
addEventHandler("onPlayerDamage", root, 
function (player) 
if isElementWithinMarker(player, m) then 
cancelEvent() 
end 
end 
) 

it should be working, but doesn't, i'm sure that is no problem with this code right ?

Edited by Guest
Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...