Marker::getColor

From RAGE Multiplayer Wiki
Revision as of 13:04, 20 January 2018 by Mcfloy (talk | contribs) (Created page with "'''Function''': Gets the marker's color. ==Syntax== {{ServerSide}} <syntaxhighlight lang="javascript"> [r,g,b,a] = marker.getColor(); </syntaxhighlight> ===Return value=== *...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Function: Gets the marker's color.

Syntax

Server-Side

[r,g,b,a] = marker.getColor();

Return value

  • r: number
  • g: number
  • b: number
  • a: number