Utility · Heists
Tanker
Spawn name

Identifiers
- Display name
- Tanker
- Spawn name
- Hash
- Int32 hash
- Hex hash
- Class
- Utility
- Type
- Trailer
- DLC
- Heists
- DLC pack
- Seats
- 2
Handling
- Top speed (handling)
- 139 km/h · 86 mph
- Drive
- RWD
- Gears
- 1
- Mass
- 5,000 kg
Spawn the Tanker in FiveM
local model = `tanker2` -- 0x74998082
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)const model = GetHashKey('tanker2'); // 1956216962
RequestModel(model);
while (!HasModelLoaded(model)) await new Promise((r) => setTimeout(r, 0));
const ped = PlayerPedId();
const [x, y, z] = GetEntityCoords(ped, true);
const vehicle = CreateVehicle(model, x, y, z, GetEntityHeading(ped), true, false);
SetPedIntoVehicle(ped, vehicle, -1);
SetModelAsNoLongerNeeded(model);-- server side (OneSync): the vehicle exists for everyone, even far away
local ped = GetPlayerPed(source)
local coords = GetEntityCoords(ped)
local vehicle = CreateVehicleServerSetter(`tanker2`, 'trailer', coords.x, coords.y, coords.z, GetEntityHeading(ped))In a FiveM console with a vehicle spawner (vMenu, txAdmin) the spawn name tanker2 is all you need. Backticks in Lua turn the name into its hash at compile time, the same number as 1956216962.
vehicles.meta flags
FLAG_EXTRAS_REQUIREFLAG_EXTRAS_STRONGFLAG_PEDS_CAN_STAND_ON_TOPFLAG_GEN_NAVMESHFLAG_EXPLODE_ON_CONTACTFLAG_DONT_SPAWN_AS_AMBIENTFLAG_SPRAY_PETROL_BEFORE_EXPLOSION
Open the Tanker in the Vehicle EditorThe original GTA model opens as a new project: remove badges, add parts, lights and paint, change handling, and export it as a FiveM resource.Make a livery for the TankerThe original model opens in the Livery Mapper: pick the panels, paint or generate the livery, export it for FiveM.






