Skip to content

GetMarkerInfo

A marker’s point, kind, color and label.

GetMarkerInfo(id)
Parameter Type
id number the marker

table - {x, y, z, kind, color, text}, or nil for no such marker

local info = GetMarkerInfo(flag)
SendClientMessage(pid, COLOR_WHITE, string.format("the flag is at %.0f %.0f", info.x, info.y))

SetMarkerPos · the Compass markers group of the index