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:

['mobilespike'] = {
        label = 'Mobile Spike',
        weight = 220,
        server = {
            export = 'mobilespike.OxUseMobileSpike',
        },
},

Additionally, you'll need to open the config.lua file within the Mobile Spike resource and navigate to lines 35-37.

itemEnabled = false,
itemName = "spikes",
oxInventory = false,

Here you can enable the item and also choose the name. You should also enable oxInventory.

Last updated