Fixed, weight in sql should be removed entirely. Line 312 needs to be replaced with
targetItem.limit == -1 or ((targetItem.count + count) <= targetItem.limit) then
and then you can adjust item limit in the sql to your desire with prices .etc
vehicle trunk weight is all configured in the config file. This took be forever to figure out literally was was right in front of me on like 313 lol.
I have an issue, I cannot close the inventory after opening it. I have tried changing the inventory close key but that has made no difference. I do not have any database or console errors so I am unsure of why the inventory will not close.
Update - None of the shops seem to work, I can open the shop but cannot drag an item into my inventory. (I have no errors at all)
This Release is very Cool, an I Like it very much.
But I have 3 Questions
Is it Possible to open the Trunk of a Car?
To use some Items, do I have to make them usable by my self?
This has Nothing to do with your Script, but if I’m there before, I can ask it right away.
I cant buy Water or Bread. It dos not even work with the normal esx_shop script.
I have installed the scripts the shops and everything are pulling up but when I go to close out the menu for the shops or inventory it is freezing on it.
Could you help me? Everything works correctly, but I go to the stores, I don’t buy bread or water, but I buy 1 weapon and if it works, what happens is the problem.?
However, the arms dealer doesn’t work for me.
When I want to buy a gun license, I get this message:
SCRIPT ERROR: @ esx_inventoryhud / server / main.lua: 396: attempt to compare number with nil