qbcore-framework / qb-inventory

Slot Based Inventory System Used With QB-Core :school_satchel:
GNU General Public License v3.0
50 stars 377 forks source link

Show amount in ItemBox with received/removed and required items. #385

Closed rj-scripts closed 1 year ago

rj-scripts commented 1 year ago

Description

Allows users to also pass an item amount when using the ItemBox to show received/removed and required items.

e.g. TriggerEvent('inventory:client:ItemBox', QBCore.Shared.Items["glass"], "remove", 400)

preview

If no amount is defined then it will just use item name like previous to not create any issues with previous uses.

preview

Checklist