CITCoordinates mapCIT Tools

San Andreas coordinates map

Click anywhere and get the X and Y the game uses, with the MTA:SA line that puts something there. Save the spots you need, measure the distance between them, and copy the lot as a Lua table. Everything stays in your browser.

X —   Y —

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 script the honest way is to ask the game:

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

In game you can read your own position with getElementPosition(localPlayer), and most servers have a command that prints it for you.

The three cities

Los Santos sits in the south east, San Fierro in the west, Las Venturas in the north east, and the countryside, the desert and Mount Chiliad fill the rest. The label under the coordinates tells you which of the three you are in, so a number you copied is easy to place.

Using them in MTA

Every line this page writes is ordinary MTA:SA server code. 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

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