cokacola Posted June 22, 2011 Share Posted June 22, 2011 Hey guys, just wondering, is there anything that can prevent drowning? I tried canceling the clientside onPed(and onPlayer)wasted / damage, and it doesn't work. Once my breath gets to 0, my health goes from 1000 to 0 in no seconds flat(it doesn't go down slowly, just warps to 0 and kills me). So, can I fix this? or somehow get infinite breath? Thanks Link to comment
Castillo Posted June 22, 2011 Share Posted June 22, 2011 You only have to cancel the onClientPlayerDamage event. addEventHandler("onClientPlayerDamage",getRootElement(), cancelEvent) 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