GTA San Andreas object
sub_roadright object ID 978
barriersPlaced 5×
- Object ID
- 978
- Model name
sub_roadright- Texture file (TXD)
metalbarrier- Draw distance
- 100
- Defined in
barriers.ide- Flags
2097152- Placed in the world
- 5 times
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(978, -1210.28, -24.26, 13.98)removeWorldModel(978, 10, -1210.28, -24.26, 13.98) -- removes the one at Easter Bay Airport, Red CountyengineGetModelNameFromID(978) -- "sub_roadright" (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, Z | Zone | |
|---|---|---|
| -1210.28, -24.26, 13.98 | Easter Bay Airport, Red County | Map |
| -1197.01, -10.98, 13.98 | Easter Bay Airport, Red County | Map |
| -1183.73, 2.29, 13.98 | Easter Bay Airport, Red County | Map |
| -1170.46, 15.56, 13.98 | Easter Bay Airport, Red County | Map |
| -1157.19, 28.84, 13.98 | Easter Bay Airport, Red County | Map |
Same texture file
2 other objects use metalbarrier.
Object IDs 0 to 999 · Search all 14,259 objects · Coordinates map
Where this comes from
- GTA San Andreas barriers.ide (the definition), the map IPL files and the stream IPLs in gta3.img (the places), and info.zon (zone names), read from an installed copy of the game. The file list is the game's own gta.dat.
- MTA wiki: createObject
- MTA wiki: removeWorldModel
- MTA wiki: engineGetModelNameFromID
Checked on 29 September 2026.