Potato_Tomato420 Posted August 17, 2019 Share Posted August 17, 2019 Hi all, how can I make a object damage proof? I have created a fuel script and don't want players to blow up the gas pumps. Link to comment
HassoN Posted August 17, 2019 Share Posted August 17, 2019 addEventHandler 'onClientObjectDamage' cancelEvent Link to comment
Scripting Moderators thisdp Posted August 18, 2019 Scripting Moderators Share Posted August 18, 2019 make the gas pump as object (removeWorldObject and createObject) amd then use https://wiki.multitheftauto.com/wiki/SetObjectBreakable 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