GTA San Andreas object
ac_apgate object ID 989
barriersNot placed
- Object ID
- 989
- Model name
ac_apgate- Texture file (TXD)
ws_apgatex- Draw distance
- 50
- Defined in
barriers.ide- Flags
4- Placed in the world
- 0 times
MTA:SA code
Copy a line into your script. x, y, z are the coordinates; the coordinates map gives them.
local obj = createObject(989, x, y, z)engineGetModelNameFromID(989) -- "ac_apgate" (client side)Same texture file
1 other object use ws_apgatex.
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.