qbcore-framework / qb-inventory

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

Create GetTrunkSize export #415

Closed KamuiKody closed 1 year ago

KamuiKody commented 1 year ago

created Trunk Size table which now gets indexed or defaulted as opposed to using a mess of checks the function that calls this was made into an export so other resources can use it I.E. vehicleshops which tps you when you leave the vehicle not allowing you to see what space the trunk has.

local weight--[[integer]], slots--[[integer]] = exports['qb-inventory']:GetTrunkSize(vehicleClass--[[integer]])

Description

Checklist