Inventoryhud - Shops

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.

How can i fix that? It says whenever i try to buy something that my inventory is full

Can someone help me making the ammo removeable (stays in your inventory like normal items) please?

Anyone else have problems closing the menu. In the bottom right it just says closing. Also says using water and Close undefined.

inventory open and then game will freeze and inventory not close bye any key and trunk and glovebox not open
also in shop second inventory open but i cant buy any item and cant close inventory

me too

citizen:/scripting/lua/MessagePack.lua:830: error

inventory open and then game will freeze and inventory not close bye any key and trunk and glovebox not open
also in shop second inventory open but i cant buy any item and cant close inventory

i put shops code in inventoryHUD 2.3 but in shop it say no second inventory … all codes are same

hey suku would it be hard to make like a reverse shop that you could sell items to

Any suggestions on getting this to work with ESX_property? Love the work that you have done and this works seamlessly with trunk and glove just fine. Trying to see what could trigger the property inventory in order to make this work. Any help would be awesome.

Go to es_extended>config.lua>Config.MaxWeight and put how many items you want to have maximum in inventory.

How to add inventoryhud for property? can you help me?

I was already working on it. Everything works except updating the inventory which it refuses to do.

how to use for property inventory?

i’m sorry cause i’m newbie. what is the following code function?

I have set this up correctly but when i drag the items over they dont go into my inventory?

man i still cant find it …u went to es_extended?

I have everything working, except for the item limits, I have added a new column ‘limit’ in the db, yet it doesn’t affect the quantity I can buy. In your video I can see you have those limits, for instance the cigarettes are 1/20.