Military · Base game
Barracks
Spawn name

Identifiers
- Display name
- Barracks
- Spawn name
- Hash
- Int32 hash
- Hex hash
- Class
- Military
- Type
- Car
- DLC
- Base game
- DLC pack
- Seats
- 10
Handling
- Top speed (handling)
- 145 km/h · 90 mph
- Drive
- RWD
- Gears
- 5
- Mass
- 9,000 kg
Spawn the Barracks in FiveM
local model = `barracks` -- 0xCEEA3F4B
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('barracks'); // 3471458123
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(`barracks`, 'automobile', coords.x, coords.y, coords.z, GetEntityHeading(ped))In a FiveM console with a vehicle spawner (vMenu, txAdmin) the spawn name barracks is all you need. Backticks in Lua turn the name into its hash at compile time, the same number as 3471458123.
vehicles.meta flags
FLAG_BIGFLAG_AVOID_TURNSFLAG_USE_FAT_INTERIOR_LIGHTFLAG_IS_BULKYFLAG_BLOCK_FROM_ATTRACTOR_SCENARIOFLAG_HAS_INTERIOR_EXTRAS
Open the Barracks 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 BarracksThe original model opens in the Livery Mapper: pick the panels, paint or generate the livery, export it for FiveM.






