Jump to content

Freeze health


IIYAMA

Recommended Posts

  • Moderators
Posted

Is it possible to freeze health without using canselevent()?

I mean get the health and freeze it?

  • Moderators
Posted

hmm.. well I don't wanna freeze the movement to.

Only the element data/health.

  • Moderators
Posted
cancelEvent , onPlayerDamage :)

.......

Ok it looks like there is no other way.

Posted
addEventHandler('onClientPlayerDamage', getLocalPlayer(), 
function() 
cancelEvent() 
end) 
---or 
addEventHandler('onClientPlayerDamage', getLocalPlayer(), 
function() 
setElementHealth(source, 100) 
end) 

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...