Adding custom cars to your FiveM server is one of the most impactful things you can do to make your roleplay server stand out. Whether you want a fleet of debadged luxury vehicles for a serious RP experience or a garage full of JDM tuners for a drift server, installing FiveM cars is surprisingly straightforward once you understand the process.
This guide walks you through every step of how to install FiveM cars, from understanding the file structure to configuring your fxmanifest.lua and server.cfg. We cover both addon vehicles (adding entirely new cars) and replace vehicles (swapping vanilla GTA V models). By the end, you will know how to add custom vehicles to your FiveM server confidently, troubleshoot common problems, and keep your server running smoothly.
1. Prerequisites — What You Need Before Starting
Before you install your first car, make sure you have the following ready:
- A running FiveM server — either a local development server (txAdmin is the easiest way to set one up) or a remote VPS/dedicated server. If you do not have a server yet, follow the official FiveM server setup guide first.
- Access to your server files — specifically the
resourcesfolder andserver.cfgfile. If you are using a hosted server (such as ZAP-Hosting or STARTER), you will typically access these through an FTP client like FileZilla or through a web file manager. - A vehicle resource to install — this is usually a ZIP file containing all the vehicle files. You can get these from the FiveMRides shop, community sites like GTA5-Mods, or FiveM forums.
- A text editor — Notepad++ or Visual Studio Code for editing configuration files. Do not use regular Windows Notepad as it can cause encoding issues with Lua files.
- Basic understanding of file management — copying, moving, and extracting ZIP files.
Always test new vehicles on a local development server first before adding them to your production server. This lets you catch issues without affecting your players. Setting up a local txAdmin server takes about 10 minutes and saves you hours of troubleshooting.
2. Understanding FiveM Vehicle File Structure
Every FiveM vehicle resource follows a specific folder structure. Understanding what each file does is essential for troubleshooting, so let us break it down before diving into the installation steps.
A typical vehicle resource looks like this:
├─ fxmanifest.lua
├─ stream/
│ ├─ revuelto.ytd (textures)
│ ├─ revuelto.yft (3D model)
│ ├─ revuelto_hi.yft (high-detail model)
│ ├─ revuelto.ydr (static model, optional)
│ └─ revuelto+hi.ytd (high-detail textures)
└─ data/
├─ vehicles.meta (vehicle definition)
├─ handling.meta (physics & driving)
├─ carvariations.meta (colors & extras)
└─ carcols.meta (color combos & lights)
Stream Files (YTD, YFT, YDR)
The stream/ folder contains the visual assets that FiveM streams to players. These are the files that make the car look like a car:
- .ytd (Texture Dictionary) — contains all the textures for the vehicle: body paint, normal maps (surface detail), specular maps (reflections), interior textures, and more. This is usually the largest file and the primary cause of performance issues when unoptimized. FiveM has a hard 16MB streaming limit per YTD file.
- .yft (Fragment Type) — the 3D model of the vehicle including all deformable parts (doors, hood, trunk, bumpers). The
_hi.yftvariant is the high-detail version shown when you are close to the vehicle. If this file is missing, the car will be invisible. - .ydr (Drawable) — static 3D model used for non-deformable objects. Some vehicles include these for things like engine parts or accessories. Not all vehicles need YDR files.
Data Files (Meta Files)
The data/ folder contains XML configuration files that tell FiveM how the vehicle behaves:
- vehicles.meta — the most important meta file. Defines the vehicle name, type (car, bike, boat), model name, manufacturer, seat count, dashboard type, and dozens of other properties. Without this file, the game does not know the vehicle exists as a spawnable entity.
- handling.meta — controls all driving physics: top speed, acceleration, braking force, suspension, traction, weight distribution, and more. If your car spawns but drives like it is on ice or feels like a boat, the handling.meta is either missing or misconfigured.
- carvariations.meta — defines available color combinations, wheel types, liveries, and extra parts (spoilers, skirts, etc.). This file determines what options show up in mod shops and LS Customs.
- carcols.meta — specifies color palettes, siren settings (for emergency vehicles), neon light configurations, and headlight/taillight details.
The Manifest File
The fxmanifest.lua (or the older __resource.lua) is the entry point that tells FiveM what files this resource contains and how to load them. Think of it as a table of contents for the resource. Without a valid manifest, FiveM completely ignores the resource folder.
The newer fxmanifest.lua format replaced the legacy __resource.lua format. While both still work, you should always use fxmanifest.lua for new resources. Some older vehicle downloads may still include __resource.lua — these will still function, but consider converting them to the modern format.
3. Method 1: Installing Addon Vehicles (Recommended)
Addon vehicles are added alongside the existing GTA V vehicles. This is the recommended approach because it does not remove any vanilla vehicles, is easier to manage, and lets you add as many cars as you want. Here is how to install addon cars on your FiveM server step by step:
Create the Resource Folder
Navigate to your server's resources directory. Inside it, create a new folder for your vehicle. Use a clear, descriptive name with no spaces (use underscores instead). Many server owners organize vehicles inside a subfolder like [vehicles] or [cars].
If your downloaded vehicle came as a ZIP file, extract it. Most well-prepared vehicle downloads will already have the correct folder structure inside. If the extracted files are directly in a flat folder (not organized into stream/ and data/ subfolders), you will need to create that structure yourself.
Add Stream Files
Create a stream subfolder inside your resource folder. Copy all the visual asset files into it:
- All
.ytdfiles (texture dictionaries) - All
.yftfiles (vehicle models, including_hi.yft) - Any
.ydrfiles if included
The file names matter. The YTD and YFT files must match the vehicle spawn name defined in the vehicles.meta. For example, if the spawn name is revuelto, you need revuelto.ytd, revuelto.yft, and revuelto_hi.yft.
Add Data Files
Create a data subfolder inside your resource folder. Copy all the meta files into it:
vehicles.meta— required for all addon vehicleshandling.meta— required for custom handlingcarvariations.meta— required for color optionscarcols.meta— required for lights and colors
Some vehicles may include additional files like vehiclelayouts.meta (for seat positioning) or dlctext.addon.meta (for vehicle class names). Include any extra meta files the creator provided.
Create or Verify fxmanifest.lua
This is the most critical step. The fxmanifest.lua file tells FiveM what to load. If your download already includes one, open it and verify it lists all the correct files. If you need to create one from scratch, use this template:
A few important things about this file:
fx_version 'cerulean'— always use the latest FX version.ceruleanis current as of 2026.game 'gta5'— required to specify this is a GTA V / FiveM resource.- You do NOT need to list stream files in the
filesblock. FiveM automatically detects and streams everything in thestream/folder. Only list the data (meta) files. - The
data_filedeclarations tell FiveM the type of each meta file so it knows how to parse them. The type strings (likeVEHICLE_METADATA_FILE) must be exact.
If your vehicle includes extra meta files, here are the common data_file type strings:
Add to server.cfg
Open your server.cfg file and add a line to start (or "ensure") your new vehicle resource. The ensure command loads the resource when the server starts:
The resource name in server.cfg must exactly match the folder name, including capitalization on Linux servers. On Windows (local dev), it is case-insensitive, but Linux production servers are case-sensitive. Use lowercase and underscores to avoid issues.
Restart and Test
Restart your FiveM server. If you are using txAdmin, you can use the "Restart Server" button or type restart in the live console. Alternatively, you can use refresh followed by ensure 2024_lamborghini_revuelto in the server console to hot-load the resource without a full restart.
Once the server is running, connect with your FiveM client and spawn the vehicle. If you are using vMenu, go to the Vehicle Spawner and search for the vehicle name. If you are using a command-based spawner, use something like:
The spawn name is defined in the vehicles.meta file under the <modelName> tag. If you are not sure what it is, open the vehicles.meta and search for modelName.
4. Method 2: Installing Replace Vehicles
Replace vehicles swap out an existing GTA V vehicle with a custom model. When players encounter that vehicle in the game world (either spawned by traffic or by a player), they see the custom model instead of the original. This is useful for servers that want to replace the default GTA V cars with real-world models without bloating the vehicle list.
How Replace Cars Work
FiveM loads resources in a specific order. When a replace vehicle resource provides stream files with the same name as a vanilla GTA V vehicle, FiveM uses the custom files instead of the originals. For example, if you name your YTD and YFT files adder.ytd and adder.yft, they will replace the Adder (Bugatti Veyron) in the game.
Step-by-Step Replace Installation
The process is simpler than addon vehicles because you typically do not need meta files — the vehicle inherits the original car's metadata:
- Create a resource folder the same way as addon vehicles (e.g.,
replace_adder). - Add stream files with names matching the vanilla vehicle you want to replace. For example, to replace the Adder:
adder.ytd,adder.yft,adder_hi.yft. - Create a minimal fxmanifest.lua:
- Add custom handling (optional) — if you want the replaced vehicle to drive differently, include a
handling.metawith the original vehicle's handling name but your custom values. Add the correspondingfilesanddata_fileentries to the manifest. - Add to server.cfg and restart, same as addon vehicles.
Replace vehicles affect all players on the server. If a player does not have the resource streamed, they see the vanilla model, which can cause visual inconsistencies. For important vehicles (police cars, frequently used RP vehicles), addon is generally better than replace. Replace is best for populating the traffic pool with realistic cars.
Finding Vanilla Vehicle Names
To replace a specific GTA V vehicle, you need to know its internal name. Here are some common ones:
adder— Bugatti Veyronzentorno— Lamborghini Sesto Elementot20— McLaren P1sultan— Subaru Impreza WRX STIelegy2— Nissan GT-Rbuffalo— Dodge Chargerpolice/police2/police3— Police vehicles
A full list of GTA V vehicle spawn names is available on the FiveM documentation.
5. Common Issues & How to Fix Them
Even experienced server owners run into problems when installing FiveM vehicles. Here are the most common issues and their solutions:
Car Spawns but Is Invisible
This is the single most common issue. The vehicle entity spawns (you can hear it, sit in it, and it has collision), but you cannot see it.
- Missing YFT file — the most likely cause. Make sure both
vehiclename.yftandvehiclename_hi.yftare in thestream/folder. The_hi.yftis the version that renders when you are nearby. - Incorrect file names — the YFT file name must match the
modelNameinvehicles.meta. Check for typos, extra spaces, or incorrect capitalization. - Corrupted files — re-download the vehicle resource. ZIP extraction errors can corrupt binary files silently.
- Stream folder not detected — make sure the folder is named exactly
stream(lowercase). Some systems createStreamorSTREAMwhich may not work on Linux servers.
Texture Loss After Adding Multiple Cars
You had 5 cars working fine, then added 10 more and now all vehicles look blurry, flickery, or have missing textures. This is texture loss — the most frustrating FiveM issue and the reason we built the FiveMRides Optimizer.
- Root cause — FiveM has finite VRAM streaming budget. When too many vehicles have oversized, uncompressed textures, the engine cannot stream them all. It starts dropping textures for distant or less-priority vehicles.
- The fix — optimize your vehicle textures before installing them. Compress textures to the right formats, resize to FiveM limits (1024px max for standard textures, 512px for RGBA), and ensure no single YTD exceeds 16MB. See our dedicated guide: How to Fix FiveM Texture Loss.
- Quick check — if a single vehicle's YTD file is larger than 16MB, it absolutely needs optimization. Many downloaded vehicles ship with 2048px or even 4096px textures that FiveM will never render at full resolution anyway.
Car Has No Handling (Drives Weird)
The vehicle spawns and looks correct but drives terribly — either stuck in place, extremely slow, slides around, or has no suspension.
- Missing handling.meta entry — open your
handling.metaand verify the<handlingName>matches what is referenced invehicles.meta. - handling.meta not loaded — check your
fxmanifest.lua. Make sure the file is listed in both thefilesblock AND has adata_file 'HANDLING_FILE'declaration. - Conflicting handling names — if two resources define handling entries with the same name, one will override the other. Make sure handling names are unique across all your vehicle resources.
Server Crashes or Resource Fails to Start
The server crashes during startup, or you see red errors in the console about the vehicle resource.
- Syntax error in fxmanifest.lua — Lua is sensitive to syntax. Check for missing quotes, commas, or brackets. The server console will usually tell you the exact line number of the error.
- Wrong data_file type string — if you use
VEHICLE_META_FILEinstead ofVEHICLE_METADATA_FILE, it will fail. Copy the type strings exactly from this guide. - Missing referenced files — if your
fxmanifest.lualists'data/carcols.meta'but the file does not exist, the resource will fail to load. Remove references to files you do not have or create the missing files. - File encoding issues — meta files must be UTF-8 encoded. If you edited them in Windows Notepad and saved with BOM (Byte Order Mark), it can cause XML parsing failures. Use Notepad++ and set encoding to "UTF-8" (without BOM).
Vehicle Spawns as a Default GTA Car
You try to spawn the vehicle by name but get a random GTA V car instead.
- vehicles.meta not loaded — without it, FiveM does not register the spawn name. Verify the
data_filedeclaration in your manifest. - Wrong spawn name — you might be typing the wrong name. Open
vehicles.metaand look for the<modelName>value — that is what you use to spawn it. - Resource not started — check the server console to confirm the resource loaded without errors. Run
ensure resource-nameand look for any error output.
6. Optimizing Vehicles Before Installing
This section is arguably the most important in this entire guide. If you are running more than a handful of custom vehicles on your FiveM server, optimization is not optional — it is essential for keeping your server playable.
Why Optimization Matters
Most custom FiveM vehicles you download from the internet are not optimized for multiplayer. They are often converted from single-player GTA V mods or created by 3D modelers who prioritize visual fidelity in a single-player context. In FiveM, where the server may stream dozens of custom vehicles simultaneously to 64+ players, these unoptimized assets cause serious problems:
- Texture loss — blurry, missing, or flickering textures on vehicles because FiveM's streaming budget is exceeded.
- FPS drops — high-polygon models and uncompressed textures chew through GPU VRAM, causing stuttering and low frame rates for your players.
- Longer loading times — oversized files take longer to stream, meaning players see placeholder vehicles or pop-in as they drive around.
- The 16MB YTD limit — FiveM hard-caps individual YTD streaming at 16MB. If a vehicle's texture dictionary exceeds this, textures simply will not load.
What Good Optimization Looks Like
Proper FiveM vehicle optimization involves two areas:
Texture optimization: Resizing textures to FiveM's actual rendering caps (1024px for standard textures, 512px for RGBA), applying the correct compression format for each texture type (BC5 for normal maps, BC7 for specular maps, DXT1/DXT5 for diffuse), and generating proper mipmaps. This alone typically reduces file size by 40-70% with zero visible quality loss in-game.
3D model optimization: Reducing polygon counts by removing invisible interior geometry, dissolving unnecessary flat-surface polygons, and applying intelligent decimation that preserves body lines and sharp edges. A well-optimized model has 20-40% fewer polygons without any visible difference during normal gameplay.
For a deep dive into the technical details, read our guide on FiveM Vehicle Optimization Best Practices.
Automate It with the FiveMRides Optimizer
You can do all of this manually using OpenIV and Blender — but it takes 30-60 minutes per vehicle and requires significant technical knowledge. The FiveMRides Optimizer does it automatically in about 30 seconds:
- Upload your vehicle resource ZIP file
- Choose your preset (Optimized for zero quality loss, or Maximum for aggressive compression)
- Download the optimized version, ready to install
It is web-based (no software to install), uses smart per-type compression that no other tool offers, and handles both textures and 3D models. If you are running more than 10 custom vehicles, the optimizer will make a noticeable difference in your server's performance.
Stop Texture Loss Before It Starts
Optimize your vehicles before installing them. 40-70% smaller files, zero visible quality loss, 30 seconds per vehicle.
7. Where to Get Quality FiveM Cars
Not all FiveM vehicles are created equal. The quality of the source files directly affects how the car looks and performs on your server. Here is where to find reliable, high-quality vehicle resources:
FiveMRides (Our Shop)
Every vehicle in the FiveMRides shop is pre-optimized for FiveM multiplayer performance. We test every car on a live server before listing it. Our specialties include:
- Debadged vehicles — real-world car models with brand logos and badges removed, perfect for serious RP servers that want realistic cars without trademark issues.
- Car packs — curated collections of 10-50+ vehicles designed to populate your server with a cohesive vehicle roster. Already optimized and ready to install.
- Instant delivery — all downloads are available immediately after purchase through your account dashboard.
Community Sources
- GTA5-Mods.com — the largest repository of GTA V mods. Look for vehicles tagged as "FiveM-ready" or that include
fxmanifest.lua. Quality varies significantly — always check the comments for known issues. - FiveM Forums — community creators share free and paid resources. The releases section often has well-documented vehicles with proper meta files.
- Discord communities — many FiveM development communities share resources. Join the FiveMRides Discord for recommendations.
Before installing any downloaded vehicle, check: Does it include all meta files? Is the YTD under 16MB? Does it have both a regular and _hi YFT? Is there a working fxmanifest.lua? If any answer is no, you may need to fix the resource before it will work properly.
8. Frequently Asked Questions
Create a new resource folder in your server's resources directory, add the stream files (YTD, YFT) and data files (vehicles.meta, handling.meta, etc.), create a fxmanifest.lua file that references all your files, then add ensure resource-name to your server.cfg. Restart the server and spawn the vehicle using its spawn code. See Method 1 above for the complete walkthrough.
An invisible car usually means the YFT (3D model) file is missing or corrupted. Make sure you have both the .yft file and the _hi.yft (high-detail) file in your stream folder. Also verify the file names match the vehicle spawn name exactly. If the files are present, try re-downloading the vehicle — ZIP extraction can sometimes corrupt binary files.
Addon vehicles are added as entirely new vehicles alongside the existing GTA V cars — they get their own spawn name and require full meta files. Replace vehicles overwrite an existing GTA V vehicle model, so when the vanilla car would appear, your custom model shows instead. Addon is more flexible and recommended for most use cases; replace is good for populating the traffic pool with realistic cars.
Texture loss occurs when your server streams too many unoptimized textures, exceeding FiveM's VRAM budget. The solution is to optimize your vehicle textures: compress them to proper formats (BC5 for normal maps, BC7 for specular, DXT1/DXT5 for diffuse) and resize to FiveM's actual rendering limits (1024px max). The FiveMRides Optimizer automates this entire process. Read our full guide: How to Fix FiveM Texture Loss.
A complete FiveM addon vehicle resource needs: stream files (.ytd textures, .yft 3D models), data files (vehicles.meta, handling.meta, carvariations.meta, carcols.meta), and a fxmanifest.lua manifest file. Some vehicles may also include extra files like vehiclelayouts.meta or audio files. For replace vehicles, you typically only need the stream files and a minimal manifest.
Yes, and it is strongly recommended. The installation process is identical for localhost and remote servers. Set up a local FiveM server using txAdmin (takes about 10 minutes), place your vehicle resource in the resources folder, add it to server.cfg, and restart. Testing locally lets you catch file issues, missing textures, and handling problems before deploying to your production server where players would be affected.
Ready to Build Your Dream Server?
You now know exactly how to install FiveM cars on your server. Browse our collection of pre-optimized, RP-ready vehicles or use the optimizer to fix performance issues with your existing cars.