CITObject IDsCIT Tools

GTA San Andreas object

mtb2_barrier5 object ID 18281

countrySPlaced 1×
Object ID
18281
Model name
mtb2_barrier5
Texture file (TXD)
mtbfencecs_t
Draw distance
150
Defined in
countryS.ide
Flags
2097156
Placed in the world
1 time

MTA:SA code

Copy a line into your script. The lines use the first place the game puts this object. Removing a world model does not remove its occlusions, so nearby parts of the map can disappear; the MTA wiki suggests setOcclusionsEnabled(false).

local obj = createObject(18281, -2515.49, -2140.77, 55.12)
removeWorldModel(18281, 10, -2515.49, -2140.77, 55.12) -- removes the one at Mount Chiliad, Whetstone
engineGetModelNameFromID(18281) -- "mtb2_barrier5" (client side)

Where the game places it

X, Y and Z of each place, with the zone name the game gives it. Map opens the coordinates map on that spot.

X, Y, ZZone
-2515.49, -2140.77, 55.12Mount Chiliad, WhetstoneMap

Same texture file

31 other objects use mtbfencecs_t.

Where this comes from

Checked on 29 September 2026.