Skip to content

Utility · Base game

Trailer

Spawn name

Trailer (tanker) in GTA 5
Factory paint:Worn WhiteMetallic White

Identifiers

Display name
Trailer
Spawn name
Hash
Int32 hash
Hex hash
Class
Utility
Type
Trailer
DLC
Base game
DLC pack
Seats
2

Handling

Top speed (handling)
139 km/h · 86 mph
Drive
RWD
Gears
1
Mass
5,000 kg

Spawn the Trailer in FiveM

local model = `tanker` -- 0xD46F4737
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 tanker is all you need. Backticks in Lua turn the name into its hash at compile time, the same number as 3564062519.

vehicles.meta flags

  • FLAG_EXTRAS_REQUIRE
  • FLAG_EXTRAS_STRONG
  • FLAG_PEDS_CAN_STAND_ON_TOP
  • FLAG_GEN_NAVMESH
  • FLAG_EXPLODE_ON_CONTACT
  • FLAG_DONT_SPAWN_AS_AMBIENT
  • FLAG_SPRAY_PETROL_BEFORE_EXPLOSION

More Utility vehicles

All Utility vehicles

Also added in Base game

Every Base game vehicle