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:

['fan'] = {
	label = 'Fan',
	weight = 220,
	server = {
		export = 'firetools.OxUseFan',
	},
},
['spreaders'] = {
	label = 'Spreaders',
	weight = 220,
	server = {
		export = 'firetools.OxUseSpreaders',
	},
},
['stabilisers'] = {
	label = 'Stabilisers',
	weight = 220,
	server = {
		export = 'firetools.OxUseStabiliser',
	},
},

Additionally, you'll need to open the config.lua file within the Fire Tools resource and navigate to lines 26-33.

itemsEnabled = { -- If set to true, commands will no longer work. Only available for frameworks
        enabled = false,
        oxInventory = false,
        fanItem = "fan",
        spreadersItem = "spreaders",
        stabilisersItem = "stabilisers",
        
    },

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

Picking back up the item

To pick back up items into your inventory, press G. This key is configurable in the config.lua file.

Last updated