[FREE] Items Template for Ox_Inventory

hey man, yes im using ox_inventory and when i put the server and client files is alwais broken

How are you putting them in the file?
Would you be able to post a screen shot of the code?

For modules/items/client, you need to put the code between two lines:

local ox_inventory = exports[shared.resource]

[code here]

exports('Items', GetItem)
exports('ItemList', GetItem)

return Items

For modules/items/server put them between these two lines:

local function Item(name, cb)
	local item = ItemList[name]

	if item and not item.cb then
		item.cb = cb
	end
end

[code here]

return Items

1 Like

thax man now is everythink fine thanks

1 Like

sorry but i dont can open the inventory in shops can you help me?: ‘not longer able to access this inventory’ and ‘you can not open this inventory’ can you help me to fix it?

I had that issue before. Check how close you are to the marker. If you want, you can go into the modules/shops/client file and increase the distance needed to access the store.

you can not open this inventory. tell me the script some ideas to fixit?


the items are not seen

I’ll look into it and see what is up.

Fresh install on a new server, works out of the box. Do you have the “Inventory_Support” resource started?

[ resources] Stopping resource inventory_support
[ resources] Started resource inventory_support

does not start stream folder
why?

Have you cleared your caches? (client side and server side)

Unless you have other models that are streaming and conflicting with these, I am not sure what would cause them to not show.

1 Like

yooo when i put everything into ox inv it wont let me put guns in my inv when i buy them from the gun store !
image

i get this error

I would join the OverExtended discord. I don’t get this error and I’m not sure where it comes from. I updated mine and tossed the file in as usual, no errors like that.

Thanks for creating the template. I use it one my server and everything works without problems.

2 Likes

Update: Prepping for coming resources + bombs in minecraft

  • Added M.I. Utils as required resource
  • Item weights (no more 5g ammo boxes
  • Added images for new items
  • Added new items for exports
  • Added test items for M.I. Rock Club

Update: Added Trading Cards
because I can

2 Likes

i follow the steps but i keep getting this error
it does it to some props/ models
could it be i need the badge props repo
its trying to call the bzzz_pizzahut_box_a and thats not even in ur mi_stream\

What models does this error come up on?

it was from bzzz_pizzabox and so on i had to go to her site and download it . it was free thank god
https://bzzz.tebex.io/package/5394534
idk if u have her/ his permisson to add it to ur stream pack for others if they didnt know

1 Like