Blip::scale: Difference between revisions
No edit summary |
MrPancakers (talk | contribs) m (Using old blip template) |
||
| (One intermediate revision by one other user not shown) | |||
| Line 9: | Line 9: | ||
This will change a blip scale to 2. | This will change a blip scale to 2. | ||
{{ServerSide}} | |||
<syntaxhighlight lang="javascript"> | <syntaxhighlight lang="javascript"> | ||
let createdBlip = mp.blips.new(1, new mp.Vector3(0, 0, 0)); | let createdBlip = mp.blips.new(1, new mp.Vector3(0, 0, 0)); | ||
| Line 16: | Line 15: | ||
createdBlip.scale = 2; | createdBlip.scale = 2; | ||
</syntaxhighlight> | </syntaxhighlight> | ||
==See Also== | ==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
- Functions
- Properties