Skip to content

Industrial & construction · Medium · The Cayo Perico Heist

h4_prop_h4_barrel_pile_02a

Model name

h4_prop_h4_barrel_pile_02a GTA 5 object

Identifiers and data

Model name
Hash
Int32 hash
Hex hash
Type
Fragment
Size (x × y × z)
1.50 × 0.90 × 1.38 m
Size class
Medium
LOD distance
60 m
HD texture distance
7.5 m
Texture dictionary
ytyp
DLC
The Cayo Perico Heist
DLC pack
Group
Industrial & construction

Spawn h4_prop_h4_barrel_pile_02a in FiveM

local model = `h4_prop_h4_barrel_pile_02a` -- 0xA7D827FF
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 2815961087.

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