Inventoryhud - Shops



anyone help?

  • item don’t show in inventory F2 but or don’t have to add something to ur inventory script to get data from the database ? i don’t know what i wrong
  • no error in console F8
    before it work i don’t know what i wrong don’t change something in database
    my inventory in client
    main.lua (12.0 KB)
    my extended in client
    main.lua (16.7 KB)

sorry for bad english
thank you for time :slight_smile:

Si am i right in saying that if i use this i will no longer need ESX_Shops? As this will replace that?

Correct

1 Like

Ill give it a try, Thank you! :smiley:

Buying a weapons license does not work, nothing happens, nothing is entered in the database under User_licenses

1 Like

I only tell you that it looks beautiful, I was afraid at the beginning of using it for the fixes and configurations that I had already done in the inventoryhud but in the end the hours I spent passing and putting the fixes that I had a great time.

I really do it, it is a very well done job and I thank you for the extra stores I will use for personalized ems and police stores which removes the blips

Also save 1 “prison” to turn it into a shop for mafias or bands.

I have one thing to say, please read the instructions or at least see how it will be installed, when installing the “inventoryhud shop” script you will have to comment or stop “esx_shop, esx_supermarket and esx_weaponshop” in case you use it.

This is how I stay. again thank you very much.
PD: sorry for my bad english

https://gyazo.com/bb5b08d427b6d2148fe6a8440603f7dc
https://gyazo.com/cf36d97bbe218fe1c437a49e11de2cd8
https://gyazo.com/db99d3486cd5aa380a008e169907f8ab

Im getting this error when I try to start my server…

Assertion failed: m_marks.find(mark) != m_marks.end(), file c:\gl\builds\4ff63adb\0\cfx\fivem\code\components\citizen-server-impl\src\resourcefilescomponent.cpp, line 35

Anybody know how to fix this? Ive reset my database completely and still wont work. Only happens when the cache is cleared on the server. When the cache is not cleared, server starts but you are not able to load the resource for esx_inventoyhud

can i know how you fixed it. i have the same problem

So i have all of this implemented, items in database, markers working, you can enter the shop. But it bugs out and wont let me drag items into player inventory, or close the menu. I am getting no errors to be spoke of either. :smiley:

I am losing my guns and ammo after server restart and when i try to buy a new weapon then it says “you already own this weapon” also my database under users_inventory stays on 0 by these weapons and ammo… it seems its not updating my database while food and drinks works fine.

I dont get errors in console or whatsoever

Do you have any clues what this error might be ?

I’m having the same issue.
There’s any fix?

u have implement table "price " in items?

Im not sure what i did to fix this, but i have it implemented in 100% i started the development fro 0. And put in scripts 1 by 1. And it is now working

i got these issue as well, Doubt i did something wrong. Did you fixed it already?

I have some issues. Every time I restart the resource, it asks for the fire arms license.
image
The other issue is when I try to buy a weapon, it says:


(I can buy ammos for my owned guns)

use old mysql-async

https://forum.cfx.re/uploads/default/original/4X/2/f/a/2fa3cbad2039cc7da29495b02cd0edd288315886.png Anybody got fix for that? Or solution.

To this work i need delete esx_shops and add this script?

Yes this has a shop system built in. And remember at add the SQL file and put the price of the item in the database or it will be free

I can’t Close the Inventory using [F2] or even ESC any idea how to fix it??

Thank you