-Doc- Posted May 14, 2015 Share Posted May 14, 2015 (edited) Nothing here Edited May 21, 2015 by Guest Link to comment
Mr.unpredictable. Posted May 14, 2015 Share 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 Link to comment
Walid Posted May 14, 2015 Share Posted May 14, 2015 check this he have the same problem as you , and i already helped him. Click Me! Link to comment
-Doc- Posted May 15, 2015 Author Share 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. Link to comment
Walid Posted May 15, 2015 Share 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 ) 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