Surge Posted June 19, 2019 Posted June 19, 2019 Hi, is this setVehicleDoorsUndamageable function is still bugged? I added setVehicleLocked fuction as it required, but nothing happend, doors were still damaged and fall off. Is there any solution to set these doors rly undamagable?
MTA Team 0xCiBeR Posted June 19, 2019 MTA Team Posted June 19, 2019 Can you please post your code? 1 DevOps Engineer, Cloud Advocate & Security Engineer(Red Team) | Coffee, Containers & Burp
JustinMTA Posted June 20, 2019 Posted June 20, 2019 Search function works wonders This is what you need 1 I can do 3D vehicle/object mods and basic scripts from scratch, contact me for free help!! Skype/Discord/Telegram: [email protected] / Justin|X5|#0977 / @JustinX5 Xtreme 5 Gaming - COMING SOON! I'd love it if more people in MTA utilized these amazing features, so please ask me anything related to 3D modeling/basic scripting/etc. The expert knows more and more about less and less until they know everything about nothing.
Surge Posted June 20, 2019 Author Posted June 20, 2019 (edited) crun setVehicleLocked(getPedOccupiedVehicle(getLocalPlayer()), true) crun setVehicleDoorsUndamageable(getPedOccupiedVehicle(getLocalPlayer()), true) function vehdoorsdamagable() if isPedInVehicle(source()) then playerVehicle = getPedOccupiedVehicle ( source() ) if ( playerVehicle ) then for _, car in ipairs( getElementsByType ("vehicle") ) do setVehicleDoorsUndamageable ( car, true ) end outputChatBox("Doors are not damageable") end end end addCommandHandler("doors", vehdoorsdamagable) Edited June 20, 2019 by Surge
Surge Posted June 20, 2019 Author Posted June 20, 2019 9 hours ago, JustinMTA said: Search function works wonders This is what you need I've tried it, but doesn't work for me
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