qbcore-framework / qb-inventory

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

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

Closed jamazzz closed 1 month ago

jamazzz commented 1 month 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 1 month ago

I messaged you in the qb discord

GhzGarage commented 1 month ago

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