OX_Inventory Integration

Find information on configuring for OX_Inventory!

The following code needs to be added into ox_inventory/data/items.lua within your OX_Inventory resource:

['taser_cartridge'] = {
        label = 'Taser cartridge',
        weight = 220,
        allowArmed = true,
        server = {
            export = 'smarttaser.OxUseTaserCart',
        },
},

Additionally, you'll need to open the config.lua file within the resource and navigate to lines 12-13.

oxInv = false,
cartridgeItemName = "taser_cartridge"

Here you can enable the item and also choose the name.

Last updated