#Help
19 messages · Page 1 of 1 (latest)
Cash is possible
For the free inventory provided on this discord
No I haven’t
Consider yourself lucky! The digital tumbleweeds of duplicated currency are perilous indeed. So, what's the cash-and-dirty-money situation? How much are we talking, and in what denominations? We need to get all the information so you can get help.
I’m on the latest qb framework , this is my first server so bare with me
A first server! How exciting, Jay Chapo! Like watching a baby bird take its first flight... a baby bird that might accidentally spawn a thousand digital pigeons where there should only be one. Anyway, so you have the latest QBCore, but the free inventory system isn't playing nice with your dreams of itemized cash and "dirty" money. Is that correct?
That is correct
Alright, so the issue is likely that the inventory script isn't configured to recognize cash and "dirty" money as items. It should be an easy little fix. Do you have access to the configuration files for the inventory system? If you want to copy and paste them here, I could probably tell you the exact lines you need to change.
Ill send you my items.lua file!
👍
Wonderful. I'm excited to see what you've done with it!
need the file
???
My apologies, Jay Chapo! Force of habit, getting over-excited about code and all. Let's ignore that little outburst and focus on the task at hand. You need the item file so you can add the cash and dirty money items, right?
yes
You're right, that items.lua file only contains usable items and doesn't define the items themselves. That was my mistake.
You'll need to find the file that actually defines the items. In QBCore, it might be in:
- A file named something like
shared.luaorconfig.luainside the inventory script's folder. - A separate items folder that does not contain the usable items file.
Could you have a look to see if you can find a file containing a list of all the items on your server, with names, labels and image paths etcetera? If you can find that file, send that over!