Hi!
I seem to have an issue with my vehicle names, here is my vehicle_names.lua (1.7 KB).
In game, only a select few names actually change/work.
The only one in that screenshot that changed was borgnine, to 01’ Borgnine.
Help would be very much appreciated! Thanks 
Hi did you manage to fix this issue,
Sorry for opening and old post
Hi,
i already need soooo long until i found it out. Cause i always understand the explainition here in the Forum wrong!
So i will try to explaijn it as best as i can. Let me directly say sorry that it will be extremly detailed.
I sadly cant do it another way cause of the way my brain/mental works. I try to put it in order as best
as i can so it wont be to complicated.
If you have any further Question just write me a Msg here on the Forum and i will be help you
with all questions i can answer.
So the first steps shouldnt not be explained so detailed for the most of you:
- For our example i use a the AddOn Car “Mercedes-Benz GL-450”
- First of all i just converted/modified the download that it works in FiveM
Open for more detail & screenshots
- Exract via OpenIV the meta files into a random named resource

- the texture and model files in a folder called “stream” in that folder

So now begins the real parts:
- Lets go on with made a __resource.lua for it…
Cause im sure you all know that and what to do i just want make sure
that you not forget the last line put into it _(they is rly rly importent):
client_script ‘vehicle_names.lua’
Open for more detail & screenshots
the highlighted line is what i talked about
- So now we need to put some changes in the vehicle.meta
or atleast check 2 entries which we need later.
Open for more detail & screenshots
-
The gl450 into the gameName-tags (what not means it will show ingame as it automaticly)

-
The BRAVADO into the VehicleMakeName-tags (so its like Mercedes, BMW and so on)

I WANT AGAIN MAKE 2 RLY IMPORTENT THINGS SURE AT THIS POINT:
1.) Dont change the -tag cause its not needed while it will not be
the name you will/wish see later ingame.
and
With my lot of tests in the past I REALLY RECOMMEND USE THE NAME NAMES:
The only thing where it seems not so importent is the -tag
Use for the 4 tags ALWAYS the same Name like you see in the )
the one for the THAT YOU NOT HAVE TO TAKE THE NAMES AT THIS PLACE
gl450
gl450
gl450
gl450
Those both we need to remember. Dont worrie it not means that this Names will shown ingame.
We can change it later in what ever we want to shown in with the vehicle_names.lua.
BTW: _I also read that its not important how the names Lua-file are called.
But if you use another name you need to put the same also in the "_resource.lua"
While I certainly tried to follow your instructions, you lost me at the part talking about tags.
Is it safe to modify or not modify? You’re instructions were contradictory.
Example of what I am trying to accomplish:
I want the display to say when you enter the car, “1995 Mustang, Ford”
Please indicate where I would change this so the game shows the player this information with the included code below:
(I had to remove the braces in order for this to show)
modelName 95stang /modelName
txdName 95stang /txdName
handlingId 95STANG /handlingId
gameName 95STANG /gameName
vehicleMakeName FORD /vehicleMakeName
Many thanks for your help!
sorry for the late responce. you can let all like it is and make a vehicle_names.lua file
with the following code in it:
function AddTextEntry(key, value)
Citizen.InvokeNative(GetHashKey("ADD_TEXT_ENTRY"), key, value)
end
Citizen.CreateThread(function()
--95STANG
AddTextEntry('0x290F8997', '1995 Mustang')
--FORD
AddTextEntry('0x7979D34C', 'Ford')
end)
The Hashcode must be made from the names of the vehicle.meta.
so in your case its the “gamename” one 95STANG (0x290F8997)
and the “VehicleMakeName” one FORD (0x7979D34C)
this way it should work.
sry again for late response but i not look so often in the FiveM Forum.
Citizen.CreateThread(function()
AddTextEntry('police2', 'fucking cop car')
AddTextEntry('spawn name', 'what you want it to say')
end)
for an alternative solution you can do this @Timo_Beil @Virus_City
How, I cannot get this to work