Hi, i was wondering if anyone have this problem before, and how did you manage it ?
Itâs hard to tell what is going on in this picture/post. Can you explain more?
Sorry, i have duplicate cash, one with the corresponding image to show on the inventoryhud and other that doesnât have an image and doesnât do anyting, i canât use/give/drop
Im thinking that so, i cant even give some objects or use it so iâm gonna seek a new inventory hud (at least until this get some updates)
bump this
to this day i still wonder why the cash was duplicated⌠i think lâll go do some archaeological code digging for fun
if you found something, let me know
I found why, in the config we have two flags, the cash and the accounts. The flags handles the money account and with that it appears the item with the image and with the accounts flag it appears the other one. The problem now is that, if we set the cash to true and accounts to false, we have just the item with the png, but you canât do anything with that.
Its because the inventory hud is outdated for the newest version of esx where they put money into the accounts table, All I did to stop this was add âmoneyâ to the config
Config.ExcludeAccountsList = {"bank", "money"} -- List of accounts names to exclude from inventory
No idea if it stops the money from being used in your inventory I believe esx is still using GetMoney() and removeMoney() that being said it should work as it is supposed to and stop the double money from showing
Feel free to drop me a message if you have issues with it or post here and iâll see what I can do to help you out
It was that. The inventory had two ways of manage money, the cash one and the account one, and since the money now itâs an account type, the other itâs obsolete and gave us the problem.
The solution: Change the type on the inventory from money to account, and the there you are. Also change the type and name on the trunk section, because it was making black money from the money you put on the trunk
can u be a little more specific please
could you please be more specific? i really appreciate your help and time
[quote=âixHal, post:10, topic:1065997â]
Config.ExcludeAccountsList = {"bank", "money"}
[/quot
you are numer 1 htnx you for the help
SCRIPT ERROR: @esx_inventoryhud/server/main.lua:333: attempt to perform arithmetic on a nil value (field âpriceâ)
can u help me ?
One of the pull requests I updated fixed all the money part on the newest ducht inventoryhud
GitHub
Just download the newest version and it should work.
SOLVED
Fix is to set config as displayed
Once u have done this go to the file (/esx_inventoryhud/html/img/items) and change the image name for cash to money. Restart the resource and it will fix it all.
But now if you move cash into a trunk, it becomes dirtymoney.
This is another bug i have not worked out, what i ended up doing was disabling the cash from showing in inventory.
so you canât let other people money, right?