- Documentation
- Shared functions
- getMarkerColor
Function
getMarkerColor
Returns a marker's colour.
Syntax
int, int, int, int getMarkerColor(marker theMarker)Arguments
theMarkermarker- The marker.
Returns
r, g, b, a, or false.
Example
local marker = createMarker(0, 0, 3, "cylinder", 2, 255, 0, 0)
local r, g, b, a = getMarkerColor(marker)