Advanced garage "null" car names

Hello

First of all, you have to enter in the “fxmanifest.lua” file and add this line:
:

‘vehicle_names.lua’

Like this:

fx_version ‘bodacious’
game ‘gta5’

server_scripts {
@mysql-async/lib/MySQL.lua’,
‘@ es_extended / locale.lua’,
‘locales / pl.lua’,
‘locales / en.lua’,
‘config.lua’,
‘server / server.lua’

}
client_scripts {
‘@ es_extended / locale.lua’,
‘locales / pl.lua’,
‘locales / en.lua’,
‘config.lua’,
‘client / client.lua’,
‘vehicle_names.lua’ --here you have put this
}

Them you have to creat a file “lua” with the name:
“vehicle_names.lua”

Inside the file you can add cars like this:

Citizen.CreateThread (function ()
AddTextEntry (‘lambose’, ‘Lamborghini Setso’)
AddTextEntry (‘AKUMA’, ‘Akuma’)
AddTextEntry (‘amarok’, ‘Amarok’)

end)

It is very important to use the name and label that is used in the database, of which it does not work and as a result NULL.

I hope to help you

If the explained does not work, go to the vehicles.meta car file and check that the name in “gamename” and in “vehicleMakename” are the same with the database and with the file “vehicles_names.lua” that you created earlier.

1 Like

gj guys

in the resource.lua make sure it looks like this

resource_manifest_version ‘44febabe-d386-4d18-afbe-5e627f4af937’

client_script ‘veh_label.lua’