Poeople will tell you this doesnt work but all mine are like this and they work perfectly:
function AddTextEntry(key, value)
Citizen.InvokeNative(GetHashKey("ADD_TEXT_ENTRY"), key, value)
end
Citizen.CreateThread(function()
AddTextEntry('CadCTSV', '2016 Cadillac CTS-V') -- Enter Gamename from vehicles.lua and what you want it to display.
AddTextEntry('GMT900ESCALADE', 'Cadillac Escalade')
AddTextEntry('ROYALE', 'Cadillac XTS Lino Royal')
AddTextEntry('CATS', '2016 Cadillac ATS-V')
AddTextEntry('sixtyone41', '1941 Cadillac Seris 61')
end)
The AddTextEntry will only work when you use the vehicle name set in the vehicle meta. So if your vehicle name is 17m760i in the vehicle meta then that’s what you set in the first part and for the second it would be the name you want to show. For example:
Also check vehicles.meta for <gameName> and <txtName>
If that is blank then that will also cause the vehicles to show as null in the garages. For the name you can just put the same thing as the <modelName>