How to Add a Custom Vehicle to a FiveM Server
Add a custom vehicle to a FiveM server: what a vehicle resource holds, the data_file manifest lines, the ensure line, spawning, and common fixes.
Adding a custom vehicle means putting its model and metadata files in a resource, declaring those files in fxmanifest.lua, and starting the resource from server.cfg. The official docs we checked cover the manifest and metadata keys, but not the full model streaming setup. The steps below combine the docs with a community tutorial, and each part is labelled.
Short answer
Create a resource folder with the vehicle files and an fxmanifest.lua that registers the .meta files with data_file. Put the folder in your server's resources directory, add an ensure line to server.cfg, restart, and spawn the vehicle by its model name.
What a vehicle resource contains
- Model files (YTYP, YDR/YFT). These hold the vehicle model. The sources we checked do not describe their structure or how they are streamed in detail. A Cfx cookbook post says raw XML-format
.ytypand.ymapfiles are supported in FiveM without conversion, provided they are named without an extra extension. - Metadata files (
.meta). The official Data Files page lists keys that point the game at metadata.HANDLING_FILEis handling data XML.CARCOLS_FILEis vehicle model variation data.VEHICLE_METADATA_FILEis listed with an example path (vehicles.meta) but no description. fxmanifest.lua. The official docs define a data file as an entry in the resource manifest that references a file for the extra content system. A community tutorial uses these lines as an example. The paths are the author's and must match your own folder layout:
fx_version 'cerulean'
game 'gta5'
files { 'data/**/*.meta' }
data_file 'HANDLING_FILE' 'data/**handling*.meta'
data_file 'VEHICLE_METADATA_FILE' 'data/**/vehicles*.meta'
data_file 'CARCOLS_FILE' 'data/**/carcols*.meta'
data_file 'VEHICLE_VARIATION_FILE' 'data/**/carvariations*.meta'
If a pack has no fxmanifest.lua, the tutorial says to create one. Older packs may use __resource.lua.
Where to put it
The community tutorial places the vehicle resource folder, the one containing the stream folder and fxmanifest.lua, inside a [cars] folder in your server's resources. The author says this keeps vehicle packs organised. This is a convention, not a requirement from the docs.
The ensure line
The tutorial adds this line to server.cfg under a comment:
ensure [cars]
The name must match the folder name the server loads. Check the pack's README for extra install steps, since some packs ship additional files.
Spawn and test
- Restart the server, or run
ensure [cars]from the server console. - Watch the console for resource or manifest errors when the resource starts.
- Spawn the vehicle using the model name. A search result from the Cfx forum says the model name is set in
vehicles.meta. We did not confirm this in the docs. - Test on a client, including the vehicle's handling, before you publish it to players.
Common problems
- The vehicle does not appear. Forum threads report that a vehicle can load without errors and still not show up. One thread cites a missing
carcols.meta(a search snippet, not checked in full). Check that the model name matches, the manifest paths match real files, and the resource actually started. - The vehicle is invisible. We did not confirm a cause from the sources we checked. Check the console for errors and confirm every file the manifest references is present.
- Handling is wrong. Handling comes from the file registered as
HANDLING_FILE, which the official docs describe as handling data XML. Check that this file is in the manifest and that its path resolves.
FAQ
Can an addon vehicle replace a GTA vehicle?
The community tutorial says addon vehicles do not replace GTA 5 vehicles, and recommends them for adding many cars. This is the author's view, not an official statement.
Do I need a fxmanifest.lua?
The tutorial says to create one if the pack does not include it. Older packs may use __resource.lua, which the same tutorial mentions.
Why does the vehicle load but not spawn?
Forum reports point to a model name that does not match, a missing metadata file, or a resource that did not start. Compare the names in your .meta files with the name you spawn, then check the console.
Sources
- Data Files, Cfx documentation
- Resource Manifest, Cfx documentation
- FYI: FiveM and RedM support raw .ymap/.ytyp files, Cfx cookbook
- How-To: Add Addon vehicles to your FiveM server, Cfx forum (community tutorial)
- Vehicle streaming with newest format of data_file, Cfx forum (community thread)
Licensing. Only add vehicles you have the right to use. Check the pack's licence and README before you install it. The tutorial's author advises not to claim ownership of vehicles you did not make. Redistributing paid or ripped vehicles may break their licence. This is general guidance, not legal advice.
Last checked: 29 November 2026. Not confirmed: the structure of YTYP and YFT files and how they are streamed, the exact vehicles.meta model-name rule, the causes of invisible vehicles, and the carcols.meta cause from the forum thread. The handling-meta fix article is not linked because it does not exist on this site.
FiveM.tools was founded with sponsorship from Nyru.