OX_Inventory Integration

Find information on configuring for OX_Inventory

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

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

['defib'] = {
        label = 'Defib',
        weight = 220,
        server = {
            export = 'smartdefib.oxUseDefib',
        },
},

Additionally, you'll need to open the config.lua file within the Smart Defib resource and navigate to lines 64-67.

framework = {
	itemEnabled = false, -- If true, item can be set in the framework option to have a defib on the go
	standalone = true, -- Set this to false if using the revival systems below
	oxInventory = false,

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

Last updated