ServersYour serverFor creatorsForumFAQDocumentationSecurity
Download the launcher
  1. Documentation
  2. Server functions
  3. addMapZoneName

Function

addMapZoneName

ServerBlipsTrilogy Hub only

Places your own place name on the map (ESC), like the district names in the game.

Syntax

int addMapZoneName(float x, float y, float z, string name [, string kind = "district"])

Arguments

xfloat
X position of the label.
yfloat
Y position of the label.
zfloat
Z position of the label.
namestring
Label text (cannot be empty).
kindstring, optional = "district"
"district" (small, like GANTON) or "region" (large, like LOS SANTOS).

Returns

A label number for removeMapZoneName, or false.

Example

local label = addMapZoneName(2495.0, -1687.0, 13.5, "Baza Grove", "district")

See also