dojwun / qb-inventory

All Credits to go to the original qbcore-framework repository

Home Page:https://github.com/qbcore-framework

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

If you are intested in recieving github updates join the community on Discord!

Fan-made re-skin...

Showcase

Video-OUTDATED

3.0 Reskin

General

3.5 Reskin

ItemBoxes Hotbar Main

Info

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) <--

About

All Credits to go to the original qbcore-framework repository

https://github.com/qbcore-framework

License:GNU General Public License v3.0


Languages

Language:JavaScript 62.3%Language:Lua 22.8%Language:CSS 10.0%Language:HTML 4.9%