Skip to main content
Returns the trunk or glovebox limits for a vehicle based on model. Uses the configuration from _data/vehicles.lua with priority: trunkByModel/gloveboxByModel > trunkByClass/gloveboxByClass. Returns 0, 0 if the vehicle/class is configured to not have trunk/glovebox (noTrunkVehicles, noTrunkClasses, etc.)

Parameters

Return value

Notes

The source docs noted a missing comma between 'adder' and "glovebox" in the original example, corrected here. Worth double-checking whether that was also a bug in the underlying script itself.