Skip to content

Barriers & traffic · Medium · The Doomsday Heist

xm_prop_lab_barrier02

Model name

xm_prop_lab_barrier02 GTA 5 object

Identifiers and data

Model name
Hash
Int32 hash
Hex hash
Type
Fragment
Size (x × y × z)
2.15 × 0.10 × 2.45 m
Size class
Medium
LOD distance
100 m
HD texture distance
5 m
Texture dictionary
ytyp
DLC
The Doomsday Heist
DLC pack
Group
Barriers & traffic

Spawn xm_prop_lab_barrier02 in FiveM

local model = `xm_prop_lab_barrier02` -- 0x344B5BCB
RequestModel(model)
while not HasModelLoaded(model) do Wait(0) end

local coords = GetOffsetFromEntityInWorldCoords(PlayerPedId(), 0.0, 1.5, 0.0)
local object = CreateObject(model, coords.x, coords.y, coords.z, true, false, false)
PlaceObjectOnGroundProperly(object)
SetModelAsNoLongerNeeded(model)

Backticks in Lua turn the name into its hash at compile time, the same number as 877353931.

Build interiors with GTA props in the Shell CreatorPlace objects like this one in your own shell and export it as a FiveM resource.

All GTA 5 objects