Utility · Base game
Boat Trailer
Spawn name

Identifiers
- Display name
- Boat 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
- 1,200 kg
Spawn the Boat Trailer in FiveM
local model = `boattrailer` -- 0x1F3D44B5
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('boattrailer'); // 524108981
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(`boattrailer`, 'trailer', coords.x, coords.y, coords.z, GetEntityHeading(ped))In a FiveM console with a vehicle spawner (vMenu, txAdmin) the spawn name boattrailer is all you need. Backticks in Lua turn the name into its hash at compile time, the same number as 524108981.
vehicles.meta flags
FLAG_SPAWN_BOAT_ON_TRAILERFLAG_EXTRAS_REQUIREFLAG_EXTRAS_STRONGFLAG_PEDS_CAN_STAND_ON_TOPFLAG_GEN_NAVMESHFLAG_DONT_SPAWN_AS_AMBIENTFLAG_BLOCK_FROM_ATTRACTOR_SCENARIO






