Santa & Christmas Edition36 maps, limited runlimited runShop the drop

FiveM · GuideVerified

FiveM car spawn codes: The Complete Catalog, Commands, and Setup Guide

Knowing your FiveM car spawn codes is essential for spawning vehicles, configuring dealership garages, or setting up emergency fleets. Spawning any vehicle in FiveM requires using its internal model name rather than its in-game display name. This guide delivers verified vehicle spawn catalogs, framework chat commands, addon extraction workflows, and game build configurations.

By Published 8 min read8 sources

Lineup of a hypercar, police interceptor, and off-road truck representing FiveM car spawn codes.
Accessing server vehicles relies on exact internal model names rather than display badges. Illustration: FAM Tools
Key facts
Spawn Code Definition
The internal model name string (e.g., adder), distinct from display names and JOAAT hashes.
Default Game Build
Build 1604 (Arena War), which requires updating via sv_enforceGameBuild for newer DLC cars.
QBCore Command
/car [modelName] registered in qb-core/server/commands.lua for authorized admins.
ESX Command
/car [modelName] registered in es_extended/server/commands.lua, defaulting to adder.
Addon Code Source
Extracted from the <modelName> XML tag inside the vehicle's vehicles.meta file.

How Model Names, Display Labels, and Hashes Differ

Working with FiveM car spawn codes requires separating the three distinct identifiers the engine assigns to every vehicle. Server owners frequently paste cosmetic text from GTA wikis into spawn commands and run into errors. The display name is purely a localized text string stored in GXT records for the HUD and dealership menus, such as 'Truffade Adder' or 'Elegy Retro Custom'.

The model name is the actual ASCII spawn string the core engine checks against streaming dictionaries, handling files, and vehicle layouts. Examples include adder or elegy. Our /vehicles database documents these model names alongside their raw archetype declarations.

Under the hood, the FiveM runtime does not pass string identifiers to the low-level entity systems. Native functions convert the string into a 32-bit Jenkins One-At-A-Time signed or unsigned integer. You can see this conversion in the GET_HASH_KEY native documentation, which produces the FiveM vehicle hashes consumed directly by runtime functions like CREATE_VEHICLE.

  • Display Name: The cosmetic text label shown on HUDs (e.g., Vapid Dominator ASP).
  • Model Name: The case-insensitive spawn string (e.g., dominator7).
  • JOAAT Hash: The 32-bit integer computed from the model name (e.g., GetHashKey('dominator7') or Lua `dominator7`).
luaHow FiveM translates model strings into hashes for vehicle spawning
local function SpawnVehicleByModel(modelName)
    local modelHash = GetHashKey(modelName)
    if not IsModelInCdimage(modelHash) or not IsModelAVehicle(modelHash) then
        print('Invalid model string provided: ' .. tostring(modelName))
        return
    end
    RequestModel(modelHash)
    while not HasModelLoaded(modelHash) do
        Wait(10)
    end
    local ped = PlayerPedId()
    local coords = GetEntityCoords(ped)
    local heading = GetEntityHeading(ped)
    local vehicle = CreateVehicle(modelHash, coords.x, coords.y, coords.z, heading, true, false)
    SetPedIntoVehicle(ped, vehicle, -1)
    SetModelAsNoLongerNeeded(modelHash)
end

Framework Commands: How to Spawn Cars in FiveM

The syntax for a FiveM spawn car command changes based on the framework and administrative resources loaded on the server. Test environments, development sandboxes, and full roleplay setups process command parameters through different server-side handlers.

Under QBCore, the default QBCore spawn car command is /car [modelName]. Registered in qb-core/server/commands.lua, this command checks for the 'admin' permission group and dispatches the model string across the network to the QBCore:Command:SpawnVehicle client event. Invalid input stops execution in client-side logic without crashing the server thread.

Under ESX Legacy, the ESX car spawn command lives in es_extended/server/commands.lua. Running /car [modelName] triggers ESX:spawnVehicle on the client. If an administrator runs /car without specifying a model name, ESX falls back to spawning an adder by default.

On servers running menu-driven administration, the FiveM vMenu vehicle spawn menu allows raw text entry. Staff open the menu, go to Vehicle Related Options, select Vehicle Spawner, and click 'Spawn Vehicle By Model Name'. Production servers using vMenu can also expose addon vehicles directly through configured categories in addons.json.

  • F8 Client Console: Type spawn [modelName] or car [modelName] on standalone dev setups.
  • QBCore Chat: Run /car [modelName] while holding the admin permission group.
  • ESX Chat: Run /car [modelName], or run /car alone to spawn the fallback adder.
  • vMenu UI: Navigate to Vehicle Related Options -> Vehicle Spawner -> Spawn Vehicle By Model Name.
luaQBCore default vehicle spawn command definition in server/commands.lua
QBCore.Commands.Add('car', 'Spawn Vehicle (Admin Only)', {{ name = 'model', help = 'Model name of the vehicle' }}, true, function(source, args)
    local src = source
    TriggerClientEvent('QBCore:Command:SpawnVehicle', src, args[1])
end, 'admin')
luaESX Legacy vehicle spawn command handler in server/commands.lua
ESX.RegisterCommand('car', 'admin', function(xPlayer, args, showError)
    if not args.car then args.car = 'adder' end
    xPlayer.triggerEvent('esx:spawnVehicle', args.car)
end, false, {help = 'Spawn a vehicle', arguments = {
    {name = 'car', validate = false, help = 'Model name or hash', type = 'string'}
}})
Fictional sports car in an inspection bay representing addon FiveM car spawn codes validation.
Testing addon vehicle configurations ensures model assets load without server crashes. Illustration: FAM Tools

FiveM car spawn codes for Super and Sports Vehicles

High-performance models make up the most searched FiveM car codes on public roleplay and racing servers. These entries cover exotics, track cars, and tuners added across various GTA Online updates. Inputting the exact model string ensures the client mounts the correct physics assets, handling flags, and engine sounds.

When referencing FiveM super car spawn codes, keep track of which update introduced each chassis. Release-day supercars like the Adder and Zentorno exist across all FiveM builds, including bare installations. Modern releases like the Ignus or Cyclone II require modern DLC builds to exist in memory.

The following list provides verified GTA 5 vehicle spawn names FiveM server developers plug into dealership catalogs, garage databases, and staff command binds.

  • adder - Truffade Adder (Super, Base Game)
  • zentorno - Pegassi Zentorno (Super, High Life)
  • t20 - Progen T20 (Super, Ill-Gotten Gains Part 2)
  • emerus - Progen Emerus (Super, Diamond Casino)
  • thrax - Truffade Thrax (Super, Diamond Casino)
  • krieger - Benefactor Krieger (Super, Diamond Casino)
  • ignus - Pegassi Ignus (Super, The Contract)
  • cyclone2 - Coil Cyclone II (Super, Next-Gen / Build 2699)
  • elegy - Annis Elegy Retro Custom (Sports, Import/Export)
  • elegy2 - Annis Elegy RH8 (Sports, Base Game)
  • sultanrs - Karin Sultan RS (Super, January 2016 Update)
  • tempesta - Pegassi Tempesta (Super, Import/Export)
  • nero - Truffade Nero (Super, Import/Export)
  • nero2 - Truffade Nero Custom (Super, Import/Export)
  • pariah - Ocelot Pariah (Sports, Doomsday Heist)
  • italigto - Grotti Itali GTO (Sports, Arena War)

FiveM car spawn codes for Police and Emergency Fleets

Public safety departments require verified FiveM police car spawn codes to configure department garages, vehicle lockouts, and emergency fleets. Base game emergency vehicles come with functional sirens, lightbars, and vehicle extras mapped into their archetype files.

These FiveM emergency vehicle spawn codes feature pre-configured audio hashes and emergency equipment files. Spawning individual units requires knowing their specific roles: police and police2 feature different physical handling profiles and light patterns, while county operations routinely rely on sheriff and sheriff2.

For fire, medical, and specialized containment units, models like the ambulance, firetruk, and riot offer specific functional features. The CREATE_VEHICLE native reference explains how these entities register on the network when flagged as mission entities.

  • police - Police Cruiser (Vapid Stanier sedan)
  • police2 - Police Cruiser (Bravado Buffalo pursuit unit)
  • police3 - Police Interceptor (Vapid Torus)
  • police4 - Unmarked Cruiser (Slick-top civilian profile)
  • policeb - Police Bike (Western Sovereign patrol motorcycle)
  • policet - Police Transporter (Enforcer prisoner transport van)
  • fbi - FIB Buffalo (Federal Bureau investigation sedan)
  • fbi2 - FIB SUV (Declasse Granger federal transport)
  • sheriff - Sheriff Cruiser (County patrol Stanier)
  • sheriff2 - Sheriff SUV (County patrol Granger)
  • pranger - Park Ranger SUV (San Andreas State Parks patrol)
  • riot - Police Riot (Armored tactical riot control truck)
  • riot2 - RCV (Tactical water-cannon crowd control vehicle)
  • ambulance - Declasse Ambulance (Standard EMS transport)
  • firetruk - MTL Fire Truck (Equipped with functional water hose)
  • polmav - Police Maverick (Aviation surveillance helicopter)

FiveM car spawn codes for Muscle, Off-Road, and Motorcycles

Civilian roleplay depends heavily on standard street sedans, muscle platforms, and off-road utility vehicles. Heavy commercial platforms like the flatbed are required for mechanics running vehicle impound and tow systems. Motorcycle clubs and courier jobs depend on verified FiveM motorcycle spawn codes for their default options.

Models like the dominator and buffalo have spanned multiple DLC cycles, meaning each iteration uses an incremented spawn name. Off-road trucks like the kamacho and insurgent provide high suspension travel and collision deformation profiles. Logistics resources routinely tie into the flatbed model to transport disabled vehicles.

The following FiveM car list covers workhorse civilian models, heavy utility trucks, and motorcycle entries standard across roleplay server economies.

  • dominator - Vapid Dominator (Base Muscle)
  • dominator3 - Vapid Dominator GTX (Modern Muscle)
  • dominator7 - Vapid Dominator ASP (LS Tuners Muscle)
  • buffalo - Bravado Buffalo (Standard 4-door sports)
  • buffalo2 - Bravado Buffalo S (Franklin's upgraded sports variant)
  • buffalo4 - Bravado Buffalo STX (The Contract heavy muscle)
  • bati - Pegassi Bati 801 (High-speed sport motorcycle)
  • bati2 - Pegassi Bati 801RR (Race-liveried sport motorcycle)
  • sanchez - Maibatsu Sanchez (Standard dual-sport dirt bike)
  • sanchez2 - Maibatsu Sanchez (Livery racing dirt bike)
  • bf400 - Nagasaki BF400 (Stunt and endurance dirt bike)
  • insurgent - HVY Insurgent Pick-Up (Off-road military gunship platform)
  • insurgent2 - HVY Insurgent (Enclosed off-road transport)
  • kamacho - Canis Kamacho (Heavy utility 4x4 off-road truck)
  • flatbed - MTL Flatbed (Heavy commercial tow platform)
  • dubsta - Benefactor Dubsta (Civilian luxury 4x4 SUV)
  • dubsta2 - Benefactor Dubsta (Blacked-out variant with custom trim)

Unlocking Newer Builds With FiveM dlc car spawn codes

Spawning newer GTA Online cars often produces an 'Invalid model' error in server consoles. This happens because FiveM runs on the Arena War update (build 1604) by default. Any vehicle released by Rockstar Games after December 2018 does not exist in memory unless instructed to load.

To enable modern vehicles, set the sv_enforceGameBuild convar in your server.cfg. The FiveM game builds documentation lists every supported DLC build number. Setting a target build forces the server binary and connecting game clients to mount that specific DLC container automatically.

Enforcing modern builds like 3258 or 3407 unlocks modern vehicles without needing to stream their raw files manually. Review our guide on game build DLC configuration for migration steps. Setting this convar also prepares your environment for FiveM car spawn codes 2026 content.

  • Build 1604: Arena War (December 2018 - Default FiveM build)
  • Build 2060: Los Santos Summer Special (August 2020)
  • Build 2189: Cayo Perico Heist (December 2020)
  • Build 2372: Los Santos Tuners (July 2021 - adds Tuner class vehicles)
  • Build 2545: The Contract (December 2021 - adds buffalo4, ignus)
  • Build 2699: The Criminal Enterprises (July 2022 - adds omnisegt, torero2)
  • Build 2802: Los Santos Drug Wars (December 2022)
  • Build 2944: San Andreas Mercenaries (June 2023)
  • Build 3095: The Chop Shop (December 2023)
  • Build 3258: Bottom Dollar Bounties (June 2024)
  • Build 3407: Agents of Sabotage (December 2024)
cfgConfiguring modern DLC game build enforcement in server.cfg
# Enforce modern GTA Online DLC assets (Bottom Dollar Bounties / Agents of Sabotage)
sv_enforceGameBuild 3258

# Alternatively enforce build 3407 for the latest DLC package
# sv_enforceGameBuild 3407

Finding the FiveM addon car spawn name in vehicles.meta

Custom vehicle resources rarely match their folder names. To identify an unfamiliar FiveM addon car spawn name, developers must inspect the raw XML definitions inside the resource folder.

Locate vehicles.meta inside the vehicle resource. Search for the <modelName> tag inside the <Item type="CVehicleModelInfo__InitDataList"> block. The text between <modelName> and </modelName> is the authoritative spawn code. Our guide on vehicle meta files covers additional parameters like handling IDs and audio hashes.

Confirm this identifier against the resource's stream/ directory. The main collision and mesh files must match, named modelname.yft, modelname_hi.yft, and modelname.ytd. Finally, ensure the resource manifest registers the metadata file. If you are importing new assets, check our guide on how to add addon cars.

  • Step 1: Open the vehicle resource folder and locate vehicles.meta.
  • Step 2: Search for <modelName> to find the authoritative spawn string.
  • Step 3: Check the stream/ folder to ensure matching .yft and .ytd files exist.
  • Step 4: Verify fxmanifest.lua registers data_file 'VEHICLE_METADATA_FILE' 'vehicles.meta'.
xmlLocating the exact spawn code inside vehicles.meta
<Item type="CVehicleModelInfo__InitDataList">
  <modelName>polstang</modelName>
  <txdName>polstang</txdName>
  <handlingId>POLSTANG</handlingId>
  <gameName>polstang</gameName>
  <vehicleMakeName>FORD</vehicleMakeName>
</Item>
luaProper fxmanifest.lua declaration for addon vehicle streaming
fx_version 'cerulean'
game 'gta5'

files {
    'vehicles.meta',
    'carcols.meta',
    'handling.meta'
}

data_file 'VEHICLE_METADATA_FILE' 'vehicles.meta'
data_file 'CARCOLS_FILE' 'carcols.meta'
data_file 'HANDLING_FILE' 'handling.meta'

Troubleshooting Invalid Model Errors and Crashes

The 'Invalid model' error happens when the game engine cannot match a requested spawn string to an active vehicle hash. While GTA V vehicle spawn names FiveM processes are case-insensitive, a single typo will invalidate the computed JOAAT hash.

If the name is spelled correctly, verify your server configuration. If a DLC vehicle was added in build 2545 and your server runs default build 1604, IsModelInCdimage() returns false. For addon vehicles, check that vehicles.meta is declared under both files and data_file 'VEHICLE_METADATA_FILE' in fxmanifest.lua.

Client crashes during vehicle spawning typically point to streaming memory exhaustion. Unoptimized addon models with uncompressed 4K or 8K textures can overrun physical VRAM. The Cfx.re client commands documentation provides client-side memory safety controls to help isolate asset issues.

  • Typographical Errors: Verify the spawn string matches the <modelName> tag character-for-character.
  • DLC Build Mismatch: Ensure sv_enforceGameBuild matches or exceeds the vehicle's release build.
  • Manifest Declarations: Confirm metadata files are declared as VEHICLE_METADATA_FILE in fxmanifest.lua.
  • Texture Streaming Budgets: Downscale oversized .ytd files to prevent physical memory overflow.
powershellF8 Client console command to cap vehicle texture streaming resolution
# Limits max vehicle texture resolution to 1024 to prevent memory crashes
str_maxVehicleTextureRes 1024

Restricting Vehicle Spawning Permissions via ACE

Unrestricted vehicle spawning degrades server performance through physics overhead and entity bloat. Server administrators use Access Control Lists (ACE) or framework role checks to restrict vehicle creation. The FiveM server commands documentation details how these access rules execute.

In vMenu setups, permissions live in permissions.cfg. Server owners can grant complete spawner access to staff groups while revoking menu options from standard players. Nodes like vMenu.VehicleSpawner.Addon allow granular control over custom vehicles.

Frameworks like QBCore and ESX validate player permissions in server-side callbacks before calling client spawn logic. For emergency vehicles, spawn scripts should verify that PlayerData.job.name == 'police' before triggering the creation event on the client.

  • ACE Control: Use add_ace group.admin vMenu.VehicleSpawner.All allow in permissions.cfg.
  • Default Denials: Ensure add_ace builtin.everyone vMenu.VehicleSpawner.Menu deny is active.
  • Framework Admin Checks: Restrict /car commands to user groups holding 'admin' or 'god' flags.
  • Job Locks: Wrap emergency spawn triggers in character job validation checks.
cfgRestricting vMenu vehicle spawner permissions via permissions.cfg
# Allow administrators full vehicle spawner access
add_ace group.admin "vMenu.VehicleSpawner.Menu" allow
add_ace group.admin "vMenu.VehicleSpawner.All" allow
add_ace group.admin "vMenu.VehicleSpawner.Addon" allow

# Deny general vehicle spawning to default players
add_ace builtin.everyone "vMenu.VehicleSpawner.Menu" deny
add_ace builtin.everyone "vMenu.VehicleSpawner.All" deny

Fivem car spawn codes: FAQ

What is the difference between a vehicle display name and a spawn code?

A display name is the localized cosmetic label shown in menus, such as 'Truffade Adder'. A spawn code is the internal model name string, such as adder, used by the game engine to create the vehicle entity.

Why does my FiveM vehicle spawn code say invalid model?

The model name is misspelled, the vehicle belongs to a newer GTA Online DLC not enabled by your server's sv_enforceGameBuild convar, or the addon resource failed to stream its vehicles.meta correctly.

How do you spawn cars in FiveM using QBCore?

Authorized administrators can open chat and type /car [modelName], such as /car zentorno. The command is defined in qb-core/server/commands.lua.

How do you spawn cars in FiveM using ESX?

Administrators can type /car [modelName] into the in-game chat. If no model name is supplied, ESX defaults to spawning an adder.

Where do I find the spawn code for an addon vehicle?

Open the vehicle resource folder, edit vehicles.meta, and look for the text enclosed inside the <modelName> XML tag.

How do I spawn GTA Online DLC cars that fail to appear on my server?

Add sv_enforceGameBuild <buildNumber> (such as sv_enforceGameBuild 3258) to your server.cfg file and restart the server to load newer DLC vehicles.

Can I spawn FiveM vehicles by their hash key instead of their name?

Yes. Most administrative menus and Lua native functions accept the 32-bit integer JOAAT hash generated from the model name.

How do I stop players from spawning vehicles on my FiveM server?

Disable vehicle spawner permissions for builtin.everyone in your permissions.cfg file and restrict framework /car commands to admin user groups.

Sources

  1. FiveM Documentation: Vehicle Models Reference · Cfx.re · 2024-01-15
  2. FiveM Documentation: Game Builds · Cfx.re · 2024-12-15
  3. FiveM Documentation: Server Commands and Convars · Cfx.re · 2024-11-20
  4. FiveM Documentation: Client Console Commands · Cfx.re · 2024-05-10
  5. FiveM Native Reference: CREATE_VEHICLE · Cfx.re · 2023-08-01
  6. FiveM Native Reference: GET_HASH_KEY · Cfx.re · 2023-08-01
  7. QBCore Framework Commands Repository · QBCore Framework Team · 2024-02-12
  8. ESX Framework Commands Repository · ESX Framework Team · 2023-11-04
fivem car spawn codesfivem vehiclesqbcoreesxvmenuserver-configgame-builds

Facts in this article come from the sources listed above, checked against official documentation where one exists, and are labelled when they are not confirmed. Illustrations are original artwork made for this page. FAM Tools is an independent site and is not affiliated with, endorsed or sponsored by Cfx.re, Rockstar Games or Take-Two Interactive. See how we work.