Ox Inventory Stash

I would like to create a warehouse using ox inventory, I also added it to stashes.lua and see it on the server but nothing opens.

Ps: on esx

Target or native ?

For a Job or a player

Send you stash.lua maybe i see an error

return {
{
coords = vec3(452.3, -991.4, 30.7),
target = {
loc = vec3(451.25, -994.28, 30.69),
length = 1.2,
width = 5.6,
heading = 0,
minZ = 29.49,
maxZ = 32.09,
label = ‘Open personal locker’
},
name = ‘policelocker’,
label = ‘Personal locker’,
owner = true,
slots = 70,
weight = 70000,
groups = shared.police
},

{
	coords = vec3(301.3, -600.23, 43.28),
	target = {
		loc = vec3(301.82, -600.99, 43.29),
		length = 0.6,
		width = 1.8,
		heading = 340,
		minZ = 43.34,
		maxZ = 44.74,
		label = 'Open personal locker'
	},
	name = 'emslocker',
	label = 'Personal Locker',
	owner = true,
	slots = 70,
	weight = 70000,
	groups = {['ambulance'] = 0}
},

{
	coords = vec3(548.88, -185.14, 54.48),
	target = {
		loc = vec3(548.88, -185.14, 54.48),
		length = 1.2,
		width = 5.6,
		heading = 0,
		minZ = 29.49,
		maxZ = 32.09,
		label = 'Open personal locker'
	},
	name = 'mechaniclocker',
	label = 'Personal locker',
	owner = false,
	slots = 70,
	weight = 70000,
	groups = {['mechanic'] = 0}
},

}

It’s here but I can’t open it

Do I need to change anything else somewhere else?

Normally no do you have errors ?

I managed it, thank you

1 Like