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

Function

setMarkerIcon

ServerMarkersIdentical to MTA:SA

Sets the icon of a ring or checkpoint: "none", "arrow" (arrow to the next point) or "finish" (finish flag).

Syntax

bool setMarkerIcon(marker theMarker, string icon)

Arguments

theMarkermarker
The marker.
iconstring
"none", "arrow" or "finish".

Returns

true on success.

Example

local finish = createMarker(0, 0, 3, "ring", 6)
setMarkerIcon(finish, "finish")

Notes

State for scripts. The game does not draw marker icons yet.

See also