[FREE] ox inventory addons

Any idea why i need to ensure the resource in game to make it work ?

im unsure. it seems to be working on login for me normally. what framework are you using?

esx legacy

Seem to be getting a

[script:ox_inventory_] SCRIPT ERROR: error object is not a string

When using dragCraft, even though the items are in items and also in the correct syntax, have the same issue with the default recipe, it does give the items, but think it causes an issue triggering the server after code as don’t get any prints. Is this a known issue?

I can still trigger server events, so doesn’t seem to be actually making the script not function, but weird it’s getting triggered none the less

can you also give me the line and file associated with the error

Hi, is it possible to add the possibility of choosing between several crafts when you drag two items? This is my config :
data.lua (4.6 KB)

I’m testing the dragcraft script, but when I drag a burger onto some water or vice versa, they just switch places like it would normally do with ox inventory. Any ideas? Here is the code:

RECIPES = {
[‘water burger’] = {
duration = 3000,
result = {
{ name = ‘lockpick’, amount = 1 },
},
costs = {
[‘water’] = { need = 1, remove = true },
[‘burger’] = { need = 1, remove = true },
},
},
}

That seems correct, i will hop on and test this out. Maybe one of my last updates broke something. I assume you are on latest release?

any update?

In regards to?

Really dope!!
Everything seems to work fine except the crafting wich i was looking forward on using the most.
when i drag one item on the other they just change position instead of crafting…any idea why?
Im on ESX.
thanks in advance and keep up the dope work! :slight_smile:

EDIT: Nevermind…my dumb ass didnt see i need to leave a space on the recipe name…xD
great work!!! Ill be lookin for all additions :slight_smile:

1 Like

Hello can you help me i don’t have weapon in my back

Do you have any information other than it doesn’t work?

No but I have no mistake the script and well star I give myself a weapon and nothing in the back I have the last maj of ox_inventory

I dont work, I add it command and add box item in ox_inventory but no put drop bag model

imagen

You can contact me by discord ?

Maybe newer version of ox_inventory broke it? Ill have to test this. Feel free to dm me on discord if its easier.
demiautomatic

That it does not show a bag when leaving the items on the ground, could it also be due to the latest version of ox_inventory? I have that version and this happens to me that when I drop an item on the ground I get a red arrow, I don’t get a bag, I have put the convar command and nothing, I don’t know why. Thank you.

​

​

currently rewriting the entire backItems module. stayed tuned for update. it will have many breaking changes

1 Like