This is how you solve the problem that stands at the auto NULL despite that you have the vehiclenames.lua
How to fix the NULL with Vehicle.names.lua
Go into your car files
Search the vehicle.meta
go into it
Search this part
<gameName>NGT19</gameName>
<vehicleMakeName>NGT19</vehicleMakeName>
The text in the middle is the name you have to put in your vehicle_names.lua
You can edit the middle to whatever you want
When it doesn’t work message me but for me it works
How to make a Vehicle_names.lua
make an client.lua an paste
Citizen.CreateThread(function()
AddTextEntry(‘spawn name’, ‘Car name real’)
and don’t vorget to make an __resource.lua
Dont forget to see NGT19
NGT19
This two things must be the same and this things have to be in the vehicle_names.lua (NGT19) is the vehicle model name for every car it is an other
IMPORTANT: I dont know why but for me i have to write the name in Caps
Oversize modelname, make sure you have 11 characters max in the “key” entry. In your case, just cut off the last letter to make it 11 and it should work. I don’t know why it’s this way, but it worked for me in the past lol
To the OP - weird text formatting, fix it up using proper blocks. Also, you only need the gameName of a vehicle to input as the key value last I checked, and the handlingId could be a different name from the vehicle’s modelName or gameName, so be sure to correct that part to avoid confusing people.
Also ich hab auch den Server neu gestartet… geht nicht
Dafür gibts diesen netten Fehler:
Could not parse resource metadata file C:/FiveM/***/resources//[cars]/[LSPD]/LSPD_Charger18/__resource.lua: …e/resources//[cars]/[LSPD]/LSPD_Charger18/__resource.lua:8: ‘}’ expected (to close ‘{’ at line 3) near ‘‘vehicle_names.lua’’
Nur die Server Konsole hatte folgendes gemeldet:
[ citizen-server-impl] Some resources have an outdated resource manifest:
[ citizen-server-impl] - LSPD_Charger18
[ citizen-server-impl]
[ citizen-server-impl] Please update these resources.