OX_Inventory Integration

Find information on configuring for OX_Inventory!

Please note that your resource folder should be named 'smarttaser' for our exports to work properly

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