Stranger Posted October 13, 2013 Share Posted October 13, 2013 hello guys, i was wondering : how to make fire does not hurt me ? i try this code but didn't work : isPedOnFire Link to comment
myonlake Posted October 13, 2013 Share Posted October 13, 2013 You can use the onClientPedDamage event to cancel the damage. Client-side addEventHandler("onClientPedDamage", root, function() if (isPedOnFire(source)) then cancelEvent() return end end ) Link to comment
Stranger Posted October 13, 2013 Author Share Posted October 13, 2013 it's work fine thank you 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