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

Function

getMarkerIcon

ServerMarkersIdentical to MTA:SA

Returns the marker icon set with setMarkerIcon ("none", "arrow", "finish").

Syntax

string getMarkerIcon(marker theMarker)

Arguments

theMarkermarker
The marker.

Returns

Icon name, or false.

Example

local marker = createMarker(0, 0, 3, "ring", 4)
outputDebugString(getMarkerIcon(marker))

See also