GTA San Andreas object
gate_autoR object ID 985
barriersPlaced 1×
- Object ID
- 985
- Model name
gate_autoR- Texture file (TXD)
gategen- Draw distance
- 200
- Defined in
barriers.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(985, 2497.41, 2777.07, 11.53)removeWorldModel(985, 10, 2497.41, 2777.07, 11.53) -- removes the one at Spinybed, Las VenturasengineGetModelNameFromID(985) -- "gate_autoR" (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 | |
|---|---|---|
| 2497.41, 2777.07, 11.53 | Spinybed, Las Venturas | Map |
Same texture file
1 other object use gategen.
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.