GetMarkerInfo
A marker’s point, kind, color and label.
Syntax
Section titled “Syntax”GetMarkerInfo(id)| Parameter | Type | |
|---|---|---|
id |
number | the marker |
Returns
Section titled “Returns”table - {x, y, z, kind, color, text}, or nil for no such marker
Example
Section titled “Example”local info = GetMarkerInfo(flag)SendClientMessage(pid, COLOR_WHITE, string.format("the flag is at %.0f %.0f", info.x, info.y))See also
Section titled “See also”SetMarkerPos · the Compass markers group of the index
