Перейти к содержанию

Marker::scale

Материал из RAGE MP Wiki Archive
Client-Side

Sets the scale of the selected marker

Syntax

<syntaxhighlight lang="javascript"> marker.scale = number; </syntaxhighlight>

Attribute Types

  • number: number

Examples

Changes the scale of the marker from 3.0 to 10

<syntaxhighlight lang="javascript"> let testMarker = mp.markers.new(1, new mp.Vector3(-431.88, 1146.86, 325), 2.0, {

   scale: 3.0

});

testMarker.scale = 10; </syntaxhighlight>