Skip to content

Trains · Los Santos Tuners

Freight Train

Spawn name

Freight Train (freightcar2) in GTA 5
Factory paint:Matte RedMetallic Black

Identifiers

Display name
Freight Train
Spawn name
Hash
Int32 hash
Hex hash
Class
Trains
Type
Train
DLC
Los Santos Tuners
DLC pack
Seats
4

Handling

Top speed (handling)
106 km/h · 66 mph
Drive
RWD
Gears
4
Mass
25,084 kg

Spawn the Freight Train in FiveM

local model = `freightcar2` -- 0xBDEC3D99
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)

In a FiveM console with a vehicle spawner (vMenu, txAdmin) the spawn name freightcar2 is all you need. Backticks in Lua turn the name into its hash at compile time, the same number as 3186376089.

vehicles.meta flags

  • FLAG_NO_BOOT
  • FLAG_PEDS_CAN_STAND_ON_TOP
  • FLAG_GEN_NAVMESH
  • FLAG_DONT_SPAWN_AS_AMBIENT
  • FLAG_EXTRAS_SCRIPT

More Trains vehicles

All Trains vehicles

Also added in Los Santos Tuners

Every Los Santos Tuners vehicle