Inventoryhud - Shops

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

Hello I have a problem when I drag something to buy it does not work the only store that works is that of weapons

sorry for the bad English

Fixed, thank you!

try this on server/main.lua line 30

change this

if targetItem.limit ~= -1 and (targetItem.count + itemCount) > targetItem.limit then

to this

if targetItem.limit == -1 and (targetItem.count + itemCount) > targetItem.limit then

do you have items in the database?

do you have other resource for shops?

contact me and i will help you.