GTA 5 Trains: Spawn Names & Hashes

All 12 trains in the GTA V catalog, each with a screenshot, its spawn name and its hash. Open any of them in the interactive browser for a 3D preview.

Browse by class

All trains 1-12 of 12

  • cablecar (GTA 5 vehicle)

    cablecar

    -960289747 0xC6C3242D
    Handling: FREIGHT
  • freight (GTA 5 vehicle)

    freight

    1030400667 0x3D6AAA9B
  • freight2 (GTA 5 vehicle)

    freight2

    -442229240 0xE5A41E08
    Handling: FREIGHT
  • freightcar (GTA 5 vehicle)

    freightcar

    184361638 0xAFD22A6
  • freightcar2 (GTA 5 vehicle)

    freightcar2

    -1108591207 0xBDEC3D99
    Handling: FREIGHTCAR
  • freightcar3 (GTA 5 vehicle)

    freightcar3

    -1874009509 0x904CE25B
    Handling: FREIGHTCAR
  • freightcont1 (GTA 5 vehicle)

    freightcont1

    920453016 0x36DCFF98
    Handling: FREIGHT
  • freightcont2 (GTA 5 vehicle)

    freightcont2

    240201337 0xE512E79
    Handling: FREIGHT
  • freightgrain (GTA 5 vehicle)

    freightgrain

    642617954 0x264D9262
    Handling: FREIGHT
  • freighttrailer (GTA 5 vehicle)

    freighttrailer

    -777275802 0xD1ABB666
    Handling: ARMYTRAILER
  • metrotrain (GTA 5 vehicle)

    metrotrain

    868868440 0x33C9E158
  • tankercar (GTA 5 vehicle)

    tankercar

    586013744 0x22EDDC30
    Handling: FREIGHT

Spawning a vehicle in FiveM

Load the model by its spawn name, wait until it is in memory, then create the vehicle and put the player in the driver seat. Run this as a client script.

local model = GetHashKey('adder')

RequestModel(model)
while not HasModelLoaded(model) do
  Wait(0)
end

local ped = PlayerPedId()
local coords = GetEntityCoords(ped)
local vehicle = CreateVehicle(model, coords.x, coords.y, coords.z, GetEntityHeading(ped), true, false)
SetPedIntoVehicle(ped, vehicle, -1)
SetModelAsNoLongerNeeded(model)

Spawn name, display name, hash and handling ID

  • Spawn name (or model name): what scripts, admin menus and /car commands use, such as adder or police3.
  • Display name: the label players see in game. It can differ from the spawn name.
  • Hash: GetHashKey('spawnname'), a 32-bit number. Scripts accept the name or the hash. The hex value is the same number written as unsigned.
  • Handling ID: the handlingName entry in handling.meta that the vehicle reads. For 165 vehicles it differs from the spawn name (the ambulance reads AMBULAN), so the cards show it when it differs. A handling.meta edit must use that name.

Tune the handling

Handling Editor

Want a car to drive differently? The Handling Editor tunes speed, grip, brakes and weight, then exports a handling.meta for your server.

Open the Handling Editor

FAQ

How do I spawn a car in FiveM?

Use its spawn name: request the model, wait until it has loaded, then call CreateVehicle, as in the script above. Admin menus and /car commands on most servers take the same spawn name.

Is the spawn name the same as the name shown in game?

Not always. Scripts use the spawn (model) name, such as sultanrs or police3. The name players see in game is a separate display label that can be different.

Why does my handling.meta not change this car?

A vehicle reads the handling entry named by its handlingId in vehicles.meta, and that name can differ from the spawn name. The ambulance reads AMBULAN, for example. Your handling.meta entry must use the handling name.

Previews carry a watermark. Supporters see the original images and can download every pack and 3D model.