Inventoryhud - Shops

a ave this error…

SCRIPT ERROR: @esx_inventoryhud/server/main.lua:312: attempt to call a nil value (field ‘canCarryItem’)

Download the script again, it should work

So I tried to add new shops, I added the shop to the client/shop.lua and to the server/main.lua and aswell to the config but after adding the new shop all my shops won’t open, I can see the Notification : Press [E] but nothing happens when I press it, did I forget to add something in a different spot?
I’ve put my TestShop always behind the YouTool so I can keep track of where to add it but somehow it’s not working…

1 Like

may i ask what script your using to have ammo in your weapon shop. thank you.

SCRIPT ERROR: @esx_license/server/main.lua:62: attempt to index a nil value (field ‘?’)

ref (@esx_license/server/main.lua:62)
(@mysql-async/mysql-async.js:14959)

Can you help to see how to solve it, maybe it ca n’t be solved. I should give up because I am newbie and wo n’t change the license

So I installed this dragged the items over to buy and nothing happens. Theirs no error in console or f8

I need help, I get the items but when I want to use them, it doesn’t let me.
Just let me use the Water and Bread.

You need to add all eat/drink items in yourself into esx_basicneeds/client/main.lua
for the alcohol its in optionalneeds. use the already exsiting bread/water in basic needs as a template for your other items if you dont know what to write

You’d have to write it yourself man, its currently not implemented in the resource.

Hi. Where can i disable the default Inventory menu? Tried finding it in es_extended/client/main.lua but couldn’t find the IsControl for it.

you must have missed it, its in esx.

Ah nvm, found it. It was
RegisterKeyMapping(‘showinventory’, _U(‘keymap_showinventory’), ‘keyboard’, ‘F2’)

Also could you tell me please where can i increase my inventory space please?

Also firearms license doesn’t work. After i bought it it says “you bought a license” then i go to the counter and it says “you need a license” (it removed the money when bought the license)

if you have esx_shop in your resource disable it.
And run esx_inventoryhud resource. The resource also replace the shops

do you have esx_license?

So what type of info do you have in the database?
do you import the sql from esx_license?

image

Hi. Yes i do have it. And i imported it yes.

image

this is not the correct table what you shown me right now.

this is in esx_license

table licenses. you show me table user_licenses.

For table licenses you need to have type and label

We can’t steal any player items…

error : SCRIPT ERROR: @esx_inventoryhud/server/main.lua:30: attempt to compare number with nil

need to be update with the new ESX function carry