Custom Vehicle Images
The UI displays an image of the vehicle that the user player is currently driving. These images are fetched from the official FiveM Vehicle Documentation Page. However, this page only contains images of base GTA V vehicles. The UI will not have an image to display for any custom vehicles added to the server. Follow the steps below to add images for custom vehicles.
Editing the Config
Open up config.lua
and locate Config.CustomCars. Add the display name of the vehicle you would like to add the image of (specifically, the name in the <gameName> tags of the vehicles vehicles.meta
file).
-- Display names of custom vehicles to add images for
Config.CustomCars = {
'Aventor SV'
}
Add the image for the vehicle
Get a transparent PNG picture of your custom vehicle that shows it from the front left side. Below is an example of a custom car image that is included by default in the resource, for the 2015 Lamborghini Aventador SV. For more examples of how the vehicle images should be, you can refer back to the FiveM Vehicle Documentation Page.

Add this image to html/car_images
.
Set the name of the image to the same display name you added to Config.CustomCars. HOWEVER, MAKE SURE YOU REPLACE SPACES WITH UNDERSCORES! THE IMAGES ARE NOT LOADED IF THERE IS A SPACE IN THEIR NAME.
So for the Aventor SV, the image would be named Aventor_SV.png
If you do not wish to add a custom image, don't worry - there is still a generic fallback image that will be shown.
Last updated