Marker::scale

From RAGE Multiplayer Wiki
Jump to navigation Jump to search
Client-Side

Sets the scale of the selected marker

Syntax

marker.scale = number;

Attribute Types

  • number: number

Examples

Changes the scale of the marker from 3.0 to 10

let testMarker = mp.markers.new(1, new mp.Vector3(-431.88, 1146.86, 325), 2.0, {
    scale: 3.0
});

testMarker.scale = 10;