- Documentation
- Server functions
- addMapZoneName
Function
addMapZoneName
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")