MaDHouSe79 / mh-cashasitem

The best cash/blackmoney/crypto item script for your qbcore server created by MaDHouSe79.
GNU General Public License v3.0
41 stars 9 forks source link

Hi 👋, I'm MaDHouSe

A passionate allround developer

My Youtube Channel and Discord

mh-cashasitem

NOTE you need coding experience.

Dependencies

Optional

Install

Server.cfg example

ensure qb-core
ensure mh-cashasitem -- add here
ensure [qb]
ensure [standalone]
ensure [voice]
ensure [defaultmaps]
ensure [mh]

Command

Video

Youtube

Images

alttext alttext alttext

Note for using blackmoney

Exports you can use for your own inventory.

-- Remove Item Example Player.Functions.RemoveItem(ItemData.name, amount, toSlot) exports['mh-cashasitem']:UpdateCash(source, ItemData, amount, "remove")


# Add in `[qb]/qb-core/shared/items.lua` 
- and don't forgot the add the `cash.png` and `blackmoney.png` and `crypto.png` in to your inventory image folder.
```lua
cash                         = { name = 'cash', label = 'Cash', weight = 0, type = 'item', image = 'cash.png', unique = false, useable = false, shouldClose = true, combinable = nil, description = 'Cash'  },
black_money                  = { name = 'black_money', label = 'Black Money', weight = 0, type = 'item', image = 'black_money.png', unique = false, useable = false, shouldClose = true, combinable = nil, description = 'Black Money?' },
crypto                       = { name = 'crypto', label = 'Crypto', weight = 0, type = 'item', image = 'crypto.png', unique = false, useable = false, shouldClose = true, combinable = nil, description = 'Crypto' },

How to change marketbills to black_money

INSTALL FOR QB INVENTORY AND QB-HUD

LICENSE

GPL LICENSE
© MaDHouSe79