qb-inventory
qb-inventory copied to clipboard
All Credits to go to the original qbcore-framework repository
qb-inventory reskin
| If you are intested in recieving github updates join the community on Discord! |
|---|
Fan-made re-skin...
Showcase
3.0 Reskin

3.5 Reskin

Info
-
edited qb-weapons [W.I.P] Mostly used for getting ammo values in qb-inventory tool tip (can be disabled)
-
dp-clothing is required for clothing-menu to work in 3.0 reskin
Settings Button Info
- Currently the "⚙️" button is set-up to use lj-menu
- You also have the option to trigger your own event or just disable the button in the config
Common "errors"
Fix Uncaught TypeError
- To fix
[script:qb-inventory:nui] Uncaught TypeError: Cannot read property "toFixed" of undefined - Quality has to be manually added to the item u just recieved
- For example:
Player.Functions.AddItem(item, amount, slot, {["quality"] = 100})
Fix Item showing up as [+Undefined/-Undefined]
- You need to add the amount of items recieved in the 'inventory:client:ItemBox' event the item was triggered from
- For example:
TriggerClientEvent('inventory:client:ItemBox', src, QBCore.Shared.Items['water'], "add", 1) <--
TriggerClientEvent('inventory:client:ItemBox', src, QBCore.Shared.Items['water'], "remove", 1) <--