CIT Toolscitwiki.com

San Andreas coordinates map

Click or tap the map to get the zone name, X and Y, and the MTA:SA code for that spot. See the blip IDs.

X   Y
How to use the map
  • Mouse: click to pick a point. Drag to move the map. Turn the wheel or double-click to zoom.
  • Touch: tap to pick a point. Drag with one finger to move the map and pinch to zoom.
  • Keyboard: select the map with Tab, then the arrow keys move the point by 10 (100 with Shift). + and - zoom.

Blip IDs 0 to 63

The number under each icon is its blip ID. Click or tap an icon to use it in the createBlip code.

Chosen icon: . See the code

More for scripters: how coordinates, zone names and blips work

How San Andreas coordinates work

San Andreas is one big square. X runs west to east, Y runs south to north, and both go from about -3000 to 3000, so the whole state is 6000 units across. Z is the height: sea level sits near 0, the streets of Los Santos are around 10 to 20, and the top of Mount Chiliad is over 400.

A flat map cannot tell you Z, which is why this page leaves it to you. In a client script you can ask the game:

local x, y = 2495.0, -1687.5
local z = getGroundPosition(x, y, 200)   -- the ground under that spot

On CIT, type /getpos in game: it shows your current position, interior and dimension. In a client script you can read it with getElementPosition(localPlayer).

Zone names

San Andreas has 160 named zones, from Ganton and Idlewood in Los Santos to Bayside, Angel Pine and the Restricted Area in the countryside. The label under the coordinates shows the zone and the wider area around it, read from the game's own zone table. They are the same names MTA gives you in a script:

getZoneName(2495, -1687, 13)         -- "Ganton"
getZoneName(2495, -1687, 13, true)   -- "Los Santos"

With true at the end you get one of eight wide areas: Los Santos, San Fierro, Las Venturas, Red County, Flint County, Whetstone, Bone County and Tierra Robada. A few zones are stacked at different heights, so a script, which knows Z, can now and then name a spot differently from this flat map.

Blip icon IDs

The Blip IDs list above shows every radar icon, numbered 0 to 63. Click one and the createBlip line uses it: 22 is the hospital, 30 the police, 6 the gun, 41 the waypoint, 52 the dollar sign. Icon 0 is the plain square marker, the only one whose colour you set with the red, green and blue numbers.

createBlip(x, y, z, icon, size, r, g, b, a)
createBlipAttachedTo(element, icon)   -- a blip that follows a player or vehicle

Using them in MTA

Every line this page writes is ordinary MTA:SA Lua. They all work in a server script, except the ground height line: getGroundPosition works only in a client script. A marker, an object, a vehicle, a ped, a blip and a pickup all take the same first three numbers, in the same order: X, Y, Z. The Copy all as a Lua table button gives you the list you saved in a shape you can loop over:

local spots = {
    { name = "Shop", x = 2495.00, y = -1687.50, z = 13.50 },
}
for _, spot in ipairs(spots) do
    createMarker(spot.x, spot.y, spot.z, "cylinder", 1.5, 255, 180, 0, 150)
end

Other tools: the CIT map shows what is where on the CIT server. The DX Designer draws a screen layout and writes the dxDraw code for it.