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
[x ] I have personally loaded this code into an updated qbcore project and checked all of its functionality.
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.
Description
Checklist