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:

['rescuecushion'] = {
	label = 'Rescue Cushion',
	weight = 220,
	server = {
		export = 'rescuecushion.useRescueCushion',
	},
},

Additionally, you'll need to open the config.lua file within the Rescue Cushion resource and navigate to lines 3-4.

itemEnabled = false,
itemName = "rescuecushion",

Here you can enable the item and also choose the name. You should also enable oxInventory further down the config file, on line 16.

Last updated