GTA San Andreas object
a51_extfence02 object ID 16670

- Object ID
- 16670
- Model name
a51_extfence02- Texture file (TXD)
a51_ext- Draw distance
- 200
- Defined in
countn2.ide- Flags
4- 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(16670, 330.79, 1813.22, 17.83)removeWorldModel(16670, 10, 330.79, 1813.22, 17.83) -- removes the one at Restricted Area, Bone CountyengineGetModelNameFromID(16670) -- "a51_extfence02" (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 | |
|---|---|---|
| 330.79, 1813.22, 17.83 | Restricted Area, Bone County | Map |
Same texture file
10 other objects use a51_ext.
16093a51_gatecontrol
16094des_a51infenc
16095des_a51guardbox02
16096des_a51guardbox04
16203cen_bit_11
16323a51_outbldgs
16638a51_gatecon_a
16668a51_extfence04
16669a51_extfence05
16671a51_extfence01
Countryside and desert · All objects, page 106 · Search all 14,259 objects · Coordinates map
Where this comes from
- GTA San Andreas countn2.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.
- The picture: drawn on 3 October 2026 from this model and its texture file in an installed copy of the game. It is lit plainly and the shade the model stores is brightened, so the game can show it darker; the camera looks at the side with the most to see. Only the picture is hosted, not the model or its textures.
- MTA wiki: createObject
- MTA wiki: removeWorldModel
- MTA wiki: engineGetModelNameFromID
Checked on 29 September 2026.