[Free] ox_inventory - slot-based inventory with metadata

Don´t know, if i understand you right, but you can buy all items, if you put them in stores. If you only wanna try the, as person with matching rights (admin as example, you can give yourself, or others, the item of your choice with a simple commands.

As example: additem player-id itemname count (additem 1 water 5)

A command for example ‘allitems’ to which any server administrator will have access and this opens a second inventory with all the items in unlimited and we can take to avoid searching precisely what is the name of the item do /giveitem all that

Or also a command for example ‘searchitem’ which would allow us to do for example ‘/searchitem pistol’ and that opens a second inventory for us with all the items with pistol in the name that could be nice too

I dont know if there are such commands.

I use ox inventory, when I exit and enter the game, all the bullets in my gun disappear. What is the solution to this?

Is there some command to reset the inventory when you are in game?

I’m not ,Some players may lose their inventory and it seems like they didn’t read the database when logging in, and then synced their empty backpack to the database when logging out!

qs inventory but it aint free

… what?

the guy was asking a question so i answered it with the only answer i knew in my small cranium of bone

oh yea how do i use app.js like in qb inventory

Weird question and I assume the usual “I want to display metadata in the tooltip” nonsense that qb-inventory requires. Client - Ox Inventory

so how would i turn this } else if (itemData.name == “rentalpapers”) {
$(“.item-info-title”).html(‘

’ + itemData.label + ‘

’)
$(“.item-info-description”).html(‘

Plate: ’+ itemData.info.label + ‘

’); into this exports.ox_inventory:displayMetadata({
mustard = ‘Mustard’,
ketchup = ‘Ketchup’
})

Having this issue any fix for it?
[ 81906] [b2944_GTAProce] CrBrowserMain/ Uncaught (in promise) Error: Failed to fetch NUI callback uiLoaded! (SyntaxError: Unexpected end of JSON input) (@ox_inventory/web/build/assets/index-e31759b5.js:27)

What version of inventory are you on? That particular code hasn’t been touched in over a year

1 Like

Fixed it

I use ESX Legacy 1.7.5 and it works perfectly so i don’t know what you are talking about.

I wanna create an item with a button that gives you a second copy of the item, how can i do that?

don’t normally post on cfx, figured why not, Does anyone know if its possible to simply remove the Second inventory keybind and have 1 keybind open all inventories? so TAB for example would open stashes, main inventory, gloveboxes trunks and dumpsters etc.

Does ox inventory come with /steal when hands is up?