Darkneblade Posted September 3, 2014 Posted September 3, 2014 if my health reach 0 its automaticly rise to 1 and dead animation and not dying some one do that? sorry for crap english
xXMADEXx Posted September 3, 2014 Posted September 3, 2014 It could be one of your scripts causing this. The Ultimate Lua Tutorial! | MTA PHP SDK
Moderators IIYAMA Posted September 3, 2014 Moderators Posted September 3, 2014 addEventHandler("onClientPlayerDamage",localPlayer, function(attacker,weapon,bodyPart,loss) local health = getElementHealth (source) cancelEvent() end) You try finish it. If somebody else gives you the awnser, then that person is pathetic and the poster stays a noob. So pls give him a chance. Do you want to improve your Lua programming skills and make less mistakes? Start with Lua Language Server! Useful functions 3x Spoiler checkPassiveTimer getScreenStartPositionFromBox getPedGender Tutorials 4x Spoiler Scaling DX Events Attach an addEventHandler on a group of elements Debugging
Bonsai Posted September 3, 2014 Posted September 3, 2014 Ahhh, I thought he is describing a problem but its what he wants to have
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