Skip to content

Other · Large · Base game

port_xr_railst

Model name

port_xr_railst GTA 5 object

Identifiers and data

Model name
Hash
Int32 hash
Hex hash
Type
Drawable
Size (x × y × z)
5.78 × 0.08 × 1.17 m
Size class
Large
LOD distance
80 m
HD texture distance
20 m
Texture dictionary
ytyp
Physics dictionary
DLC
Base game
DLC pack
Group
Other

Spawn port_xr_railst in FiveM

local model = `port_xr_railst` -- 0x6EB9ADC2
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 1857662402.

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