OX_Inventory Integration

Find information on configuring for OX_Inventory

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

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

['tracker_cartridge'] = {
        label = 'Starchase Cartridge',
        weight = 220,
        server = {
            export = 'policetracker.OxUseTrackerDart',
        },
},
['starchase'] = {
        label = 'Starchase',
        weight = 220,
        server = {
            export = 'policetracker.OxUseTracker',
        },
},

Additionally, you'll need to open the config.lua file within the Police Tracker resource and navigate to lines 49-52.

cartridgeItemName = "tracker_cartridge", -- If you're using a framework, you'll need to add this as an item. See our documentation for more info on this.
starChaseItemName = "tracker",
oxInventory = false,

Here you can enable the items and also choose the names. You should also enable oxInventory.

Last updated