Moderators IIYAMA Posted June 3, 2012 Moderators Share Posted June 3, 2012 Is it possible to freeze health without using canselevent()? I mean get the health and freeze it? Link to comment
Moderators IIYAMA Posted June 3, 2012 Author Moderators Share Posted June 3, 2012 hmm.. well I don't wanna freeze the movement to. Only the element data/health. Link to comment
Moderators IIYAMA Posted June 3, 2012 Author Moderators Share Posted June 3, 2012 cancelEvent , onPlayerDamage ....... Ok it looks like there is no other way. Link to comment
Kenix Posted June 5, 2012 Share Posted June 5, 2012 cancelEvent , onPlayerDamage Wrong. You can cancel only onClientPlayerDamage event. Link to comment
X-SHADOW Posted June 5, 2012 Share Posted June 5, 2012 addEventHandler('onClientPlayerDamage', getLocalPlayer(), function() cancelEvent() end) ---or addEventHandler('onClientPlayerDamage', getLocalPlayer(), function() setElementHealth(source, 100) end) Link to comment
Moderators IIYAMA Posted June 5, 2012 Author Moderators Share Posted June 5, 2012 ---or <- Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now