Freight Train
freightcont2
Freight Train is a rail train in GTA V. In FiveM scripts it is freightcont2, hash 240201337.
- Display name
- Freight Train
- Class
- Rail
- Type
- Train
- Hash
- 240201337
- Signed hash
- 240201337
- Hex
- 0x0E512E79

Spawn it in a FiveM script
FiveM's Lua turns a name in backticks into its hash when the script loads, so `freightcont2` and 240201337 are the same value. On ESX and QBCore servers, staff can usually spawn it with /car freightcont2.
lua
-- client.lua: spawn the Freight Train next to the player
local model = `freightcont2`
RequestModel(model)
while not HasModelLoaded(model) do Wait(0) end
local ped = PlayerPedId()
local coords = GetEntityCoords(ped)
local vehicle = CreateVehicle(model, coords.x + 3.0, coords.y, coords.z, GetEntityHeading(ped), true, false)
SetModelAsNoLongerNeeded(model)More rail vehicles
The data comes from GTA V's own game files. Parity, the FiveM anticheat, shows these names instead of raw hashes in your server logs. Browse all GTA V vehicles.









