Skip to content

Other · Huge · San Andreas Mercenaries

m23_1_prop_m31_haybales_01c

Model name

m23_1_prop_m31_haybales_01c GTA 5 object

Identifiers and data

Model name
Hash
Int32 hash
Hex hash
Type
Drawable
Size (x × y × z)
1.96 × 19.23 × 3.57 m
Size class
Huge
LOD distance
700 m
HD texture distance
20 m
Texture dictionary
ytyp
DLC
San Andreas Mercenaries
DLC pack
Group
Other

Spawn m23_1_prop_m31_haybales_01c in FiveM

local model = `m23_1_prop_m31_haybales_01c` -- 0x489FA516
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 1218422038.

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