cokacola Posted June 22, 2011 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 Also known as Bizzycola. In fact, if I could change my nick to that I would.
Castillo Posted June 22, 2011 Posted June 22, 2011 You only have to cancel the onClientPlayerDamage event. addEventHandler("onClientPlayerDamage",getRootElement(), cancelEvent) San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
cokacola Posted June 23, 2011 Author Posted June 23, 2011 It worked, thanks Also known as Bizzycola. In fact, if I could change my nick to that I would.
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