Addon Vehicles
Last updated
Last updated
Many addon vehicles include names in their vehicles.meta
file that differ from their spawn names. This guide explains how to locate and resolve name discrepancies to ensure smooth integration with the Quasar Advanced Garages system.
Addon vehicles, often custom-branded cars, may display "NULL" as their name in the garage menu. This issue arises from mismatched metadata in the vehicles.meta
file, specifically the gameName
field. The garage system references this field to display vehicle names.
Example Issue:
Spawn name: golfgti7
Meta gameName
: Golf GTI
If no configuration is provided, the system cannot match the two, resulting in a "NULL" display in the menu.
Add the correct name mapping to Config.AddonVehiclesLabelList
in the config.lua
file. Match the gameName
value to a readable label.
Example Configuration:
This issue stems from custom vehicle creators using inconsistent naming practices in their metadata files. Correcting this is a simple step in ensuring addon vehicles integrate seamlessly with the garage system.
By following these steps, you can resolve the "NULL" display issue and enjoy a polished experience for your players using addon vehicles.