ServersYour serverFor creatorsForumFAQDocumentationSecurity
Download the launcher
  1. Documentation
  2. Shared functions
  3. getMarkerColor

Function

getMarkerColor

Server and clientMarkersIdentical to MTA:SA

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)

See also