WHAT IS THIS SCIPT?
this is a simple script to assemble and disassemble your weapons using ox_inventory
FEATURES
- Easy to configure
- Resmon 0.0 idle and in use
- Saves serial and durability when weapon disassembled
- Disassembles accessories
INSTALLATION
-
Insert the script in your resources folder
-
Ensure ars_disassemble_weapons in server.cfg
-
Setup the config for your likings
-
Restart your server and your good to go!
To add the button to weapons to disassemble as show in the preview video do the following steps
- Open ox_inventory/data/weapons
- replace with the following code the weapon you want to add the button to
['WEAPON_NAME'] = {
label = 'Testing 123',
weight = 970,
durability = 0.1,
ammoname = 'ammo-9',
buttons = {
{
label = 'Disassemble Weapon',
action = function(slot)
print(slot)
exports.ars_disassemble_weapons:disassembleWeapon(slot)
end
},
},
},
PREVIEW
DOWNLOAD
https://github.com/Arius-Development/ars_disassemble_weapons/releases
FOR SUPPORT https://discord.gg/MHssRAKY