Skip to content

Industrial & construction · Medium · Base game

prop_offroad_barrel02

Model name

prop_offroad_barrel02 GTA 5 object

Identifiers and data

Model name
Hash
Int32 hash
Hex hash
Type
Fragment
Size (x × y × z)
2.43 × 0.75 × 0.89 m
Size class
Medium
LOD distance
120 m
HD texture distance
15 m
Texture dictionary
ytyp
DLC
Base game
DLC pack
Group
Industrial & construction

Spawn prop_offroad_barrel02 in FiveM

local model = `prop_offroad_barrel02` -- 0xC4932AF2
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 3297979122.

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