Blip::scale: Difference between revisions

From RAGE Multiplayer Wiki
(Created page with "{{Incomplete Functions}}")
 
m (Using old blip template)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Incomplete Functions}}
This function is used to change the blip scale.
 
==Syntax==
<syntaxhighlight lang="typescript">
blip.scale = 2;
</syntaxhighlight>
 
==Example==
This will change a blip scale to 2.
 
{{ServerSide}}
<syntaxhighlight lang="javascript">
let createdBlip = mp.blips.new(1, new mp.Vector3(0, 0, 0));
 
createdBlip.scale = 2;
</syntaxhighlight>
 
==See Also==
{{Blip_definition}}

Latest revision as of 11:49, 10 May 2018

This function is used to change the blip scale.

Syntax

blip.scale = 2;

Example

This will change a blip scale to 2.

Server-Side

let createdBlip = mp.blips.new(1, new mp.Vector3(0, 0, 0));

createdBlip.scale = 2;

See Also