Marker::colour

From RAGE Multiplayer Wiki
Jump to navigation Jump to search
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]