qbcore-framework / qb-inventory

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

[SUGGESTION] Export to get amount of slots used in Stash / Inventory #509

Closed jamazzz closed 6 months ago

jamazzz commented 6 months ago

The problem

I would like to know the amount of slots that are already being used so I can make every x amount of slots it add a new prop inside of a truck and right now there isn't an export for that at least in the documentation.

Ideal solution

Create the export

Alternative solutions

No response

Additional context

Ox inventory already has it I'm just making compatibility with qb-inventory

GhzGarage commented 6 months ago

I messaged you in the qb discord

GhzGarage commented 6 months ago

https://github.com/qbcore-framework/qb-inventory/commit/4c303fbdd8650f345615f58fade23b1e81784b84