[Free] ox_inventory - slot-based inventory with metadata

Toggle weapon draw/holster animations

setr inventory:weaponanims false

where i need to put this?

nevermind, i didn’t have config.cfg file

could you tell me where to add these ?

Inside your server.cfg

Did you solve this d4mn thing?

Since i got kicked from Ox Inventory Discord for asking for help (will provide screenshot later). I need help on trying to figure out why the inventory will not work when a player dies. I have comment out the following if PlayerData.dead or IsPedFatallyInjured(playerPed) then
return shared.info(‘cannot open inventory’, ‘(fatal injury)’)
end

if PlayerData.cuffed or IsPedCuffed(playerPed) then
    return shared.info('cannot open inventory', '(cuffed)')
end

But a player when revived will be able to access their inventory but not able to use anything like weapons or food. I currently use ESX 1.10.5 would really like some help here thats all i’m asking.

since latest update, petrolcans got dynamic weights. How do i reset that? They’re too heavy.

ESX Legacy v1.6.0
anyone elts been getting this error over lat few days
image
i have the latis esx
image
ive even did a fresh sever install and ox install a few time

if you getting that error goo to \es_extended\shared\config\main

and set
Config.CustomInventory = “ox”

1 Like

did that and still getting same message you sent

can u guys help me make a ‘foodbag’ item, that when it used we get food and drink?

Is it possible to have different workbenches with different items?

Ok, i found it. Now it’s works.

download and installed ox_inventory, exactly as explained and now my server cant run. keeps looping and wont stay running for more than 5seconds

he guys,

is there an export or an event that I can put into a other script that prevents you from e.g. crouching while you are in the inventory?

maybe something like this:

if “inventoryOpen” and “PlayerNotDead” then
crouch