Skip to content

Other · Tiny · Base game

p_sunglass_m_s

Model name

p_sunglass_m_s GTA 5 object

Identifiers and data

Model name
Hash
Int32 hash
Hex hash
Type
Drawable
Size (x × y × z)
0.17 × 0.15 × 0.04 m
Size class
Tiny
LOD distance
20 m
HD texture distance
5 m
Texture dictionary
ytyp
Physics dictionary
DLC
Base game
DLC pack
Group
Other

Spawn p_sunglass_m_s in FiveM

local model = `p_sunglass_m_s` -- 0xBD9F0B5C
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 3181316956.

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