Blip::alpha: Difference between revisions
(Created page with "{{Incomplete Functions}}") |
No edit summary |
||
| Line 1: | Line 1: | ||
{{ | This function is used to change the blip alpha. | ||
==Syntax== | |||
<syntaxhighlight lang="typescript"> | |||
blip.alpha = 1; | |||
</syntaxhighlight> | |||
==Example== | |||
This will change a blip to be transparent. | |||
<div class="header" style="background-color: #408DAE; color: #FFFFFF; border: 2px solid #408DAE;"> | |||
<div style="margin: 10px 10px 10px 10px;"><b>Server-Side</b></div> | |||
<syntaxhighlight lang="javascript"> | |||
let createdBlip = mp.blips.new(1, new mp.Vector3(0, 0, 0)); | |||
createdBlip.alpha = 0; | |||
</syntaxhighlight> | |||
</div> | |||
==See Also== | |||
{{Blip_function}} | |||
Revision as of 14:36, 8 December 2017
This function is used to change the blip alpha.
Syntax
blip.alpha = 1;
Example
This will change a blip to be transparent.
Server-Side
let createdBlip = mp.blips.new(1, new mp.Vector3(0, 0, 0));
createdBlip.alpha = 0;