Utility · Base game
Docktrailer
Spawn name

Identifiers
- Display name
- Docktrailer
- 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
- 2,000 kg
Spawn the Docktrailer in FiveM
local model = `docktrailer` -- 0x806EFBEE
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('docktrailer'); // 2154757102
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(`docktrailer`, 'trailer', coords.x, coords.y, coords.z, GetEntityHeading(ped))In a FiveM console with a vehicle spawner (vMenu, txAdmin) the spawn name docktrailer is all you need. Backticks in Lua turn the name into its hash at compile time, the same number as 2154757102.
vehicles.meta flags
FLAG_EXTRAS_REQUIREFLAG_EXTRAS_STRONGFLAG_EXTRAS_SCRIPTFLAG_PEDS_CAN_STAND_ON_TOPFLAG_GEN_NAVMESHFLAG_DONT_SPAWN_AS_AMBIENT
Open the Docktrailer 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 DocktrailerThe original model opens in the Livery Mapper: pick the panels, paint or generate the livery, export it for FiveM.






