ServersYour serverFor creatorsForumFAQDocumentationSecurity
Download the launcher
  1. Documentation
  2. Shared functions
  3. getMapZoneNames

Function

getMapZoneNames

Server and clientBlipsTrilogy Hub only

Returns every place label scripts have added to the map.

Syntax

table getMapZoneNames()

Returns

A { [number] = { x, y, z, name, kind } } table.

Example

for id, zone in pairs(getMapZoneNames()) do
    print(id, zone.name, zone.kind)
end

See also