AMARANT Posted July 16, 2012 Share Posted July 16, 2012 I'm just wondering how can I check that a player takes damage from falling? Link to comment
50p Posted July 16, 2012 Share Posted July 16, 2012 onPlayerDamage if attacker is false then it's the most likely fall damage because it would be vehicle element if you were hit by a vehicle or driven over Link to comment
AMARANT Posted July 16, 2012 Author Share Posted July 16, 2012 Who would have thought it! It seems so obvious) But what about slaps? Does "onPlayerDamage" trigger when a player is slapped? Link to comment
AMARANT Posted July 16, 2012 Author Share Posted July 16, 2012 I can't man, I'm at work I often need to be given the answers by the time I come back home Link to comment
50p Posted July 16, 2012 Share Posted July 16, 2012 Slap is simply setElementHealth so I guess it'd be the same. 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