Skip to content

Interior props · Tiny · Base game

v_serv_switch_2

Model name

v_serv_switch_2 GTA 5 object

Identifiers and data

Model name
Hash
Int32 hash
Hex hash
Type
Drawable
Size (x × y × z)
0.04 × 0.12 × 0.11 m
Size class
Tiny
LOD distance
40 m
HD texture distance
5 m
ytyp
DLC
Base game
DLC pack
Group
Interior props

Spawn v_serv_switch_2 in FiveM

local model = `v_serv_switch_2` -- 0xF56BDCDE
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 4117486814.

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