Marker::colour

From RAGE Multiplayer Wiki
Revision as of 09:45, 14 May 2018 by MrPancakers (talk | contribs) (Creates the page from incomplete.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Client-Side

Change the colour of the selected marker.

Syntax

marker.colour = colour;

Attribute Types

  • colour: [Int, Int, Int, Int] [0:255]

Examples

Changes the colour of the marker from white to red.

let testMarker = mp.markers.new(1, new mp.Vector3(-431.88, 1146.86, 325), 2.0);

testMarker.colour = [255, 0, 0, 255]