OX_Inventory Integration

Find information on configuring for OX_Inventory!

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

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

['chock'] = {
	label = 'Chock',
	weight = 220,
	server = {
		export = 'vehiclerescue.useVehicleRescueItem',
		name = "chock"
	},
},
['jack'] = {
	label = 'Jack',
	weight = 220,
	server = {
		export = 'vehiclerescue.useVehicleRescueItem',
		name = "jack"
	},
},

Additionally, you'll need to open the config.lua file within the Vehicle Rescue resource and navigate to lines 9-11.

inventory = {
    itemEnabled = true,
    oxInventory = true,

Here you can enable the item. You should also enable oxInventory.

Last updated