OX_Inventory Integration

Find information on configuring for OX_Inventory!

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

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

['watermonitor'] = {
	label = 'Water monitor',
	weight = 220,
	server = {
		export = 'watermonitor.useWaterMonitor',
	},
},

Additionally, you'll need to open the config.lua file within the Water Monitor resource and navigate to lines 17-19.

inventory = {
    itemEnabled = false,
    oxInventory = false,

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

Last updated