Mr.unpredictable. Posted May 14, 2015 Posted May 14, 2015 Check the death reason id's https://wiki.multitheftauto.com/wiki/Death_Reasons And then cancelEvent About your second question use toggleControl
Walid Posted May 14, 2015 Posted May 14, 2015 check this he have the same problem as you , and i already helped him. Click Me!
-Doc- Posted May 15, 2015 Author Posted May 15, 2015 And one more question. When i want to disable it i wanna make something like this: On next spawn nodm will be removed.
Walid Posted May 15, 2015 Posted May 15, 2015 And one more question. When i want to disable it i wanna make something like this: On next spawn nodm will be removed. try this onClientPlayerSpawn function removeNoDm ( ) if getElementData(localPlayer, "invincible") then setElementData(localPlayer,"invincible",false) end end addEventHandler ( "onClientPlayerSpawn", getLocalPlayer(), removeNoDm )
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