Vehicle names not showing in esx_advancedgarage

Hey guys,
I have a small problem with esx_advancedgarage
I have added add-on vehicles to my FiveM Server, only there is now NULL instead of Audi RS3 Audi RS6 Audi RS7 et cetera, how do I change this?

Screenshot

image

Regards,

Use AddTextEntry() or AddTextEntryByHash().

For example…

Citizen.CreateThread(function()
    AddTextEntry(GetHashKey("mycar"), "My car")
    AddTextEntryByHash(0xDB47DF97, "My car")
end)

i have the same problem but where do we even add this line of code?

That was just an example, anywhere in a client script will work.

created a vehicle_names.lua,

Citizen.CreateThread(function()
AddTextEntry(GetHashKey(“demonhawk”), “Demonhawk”)
AddTextEntryByHash(0x5D0B86E5, “Demonhawk”)
end)

I got this error

Update manifest version.

updated, still errors

Unlikely, did you run refresh afterwards too?

yep i did

you may need to use openiv to generate a hash key from the name of the vehicle in your vehicles.meta file

i did, dindt work

post the link to where you got the car from and ill see if i can get the name to show

That vehicle is not even at a point where is capable of going into FiveM without a lot of working being done to it beforehand if you can send me something thats already FiveM ready ill see what i can do. I had the same issue with my cop cars which i fixed by generating hash key for the name of the vehicle in the vehicles.meta file

everythings works fine, u need the .meta files and vehicle ?

give me 20 mins just converting this so it works with FiveM

How can i do that by myself?

copy and paste your vehicle_names.lua file and your vehicles.meta file

vehicles.meta <?xml version="1.0" encoding="UTF-8"?>

<CVehicleModelInfo__InitDataList>
vehshare



demonhawk
demonhawk
demonhawk
DemonHawk
JEEP
null
null
null
null

null
btype2
LAYOUT_STD_HIGHWINDOW
MOONBEAM_COVER_OFFSET_INFO
EXPLOSION_INFO_DEFAULT

DEFAULT_FOLLOW_VEHICLE_CAMERA
MID_BOX_VEHICLE_AIM_CAMERA
VEHICLE_BONNET_CAMERA_STANDARD_LONG
DEFAULT_POV_CAMERA























VFXVEHICLEINFO_CAR_GENERIC





















450.000000
460.000000
470.000000
480.000000
490.000000
500.000000










SWANKNESS_2

FLAG_EXTRAS_STRONG FLAG_PARKING_SENSORS FLAG_IS_OFFROAD_VEHICLE FLAG_IS_BULKY FLAG_USE_RESTRICTED_DRIVEBY_HEIGHT
VEHICLE_TYPE_CAR
VPT_FRONT_AND_BACK_PLATES
VDT_BANSHEE
VC_SUV
VWT_SUV

ctrailer










WHEEL_FRONT_RIGHT_CAMERA
WHEEL_FRONT_LEFT_CAMERA
WHEEL_REAR_RIGHT_CAMERA
WHEEL_REAR_LEFT_CAMERA






STD_DOMINATOR_FRONT_LEFT
STD_DOMINATOR_FRONT_RIGHT


vehicles_dom_interior demonhawk
vehicle_names.lua

Citizen.CreateThread(function()
AddTextEntry(GetHashKey(“demonhawk”), “My car”)
AddTextEntryByHash(0x5D0B86E5, “My car”)
end)

I have 1 car in vehicle_names.lua bc i wanted test it :stuck_out_tongue:

idk what happend with the vehicles.meta in my reaction before