Blip::setAlpha: Difference between revisions

From RAGE Multiplayer Wiki
No edit summary
No edit summary
Line 1: Line 1:
Sets alpha-channel for blip color.<br><br>Example:<br><br>Blip blip = Blip::ADD_BLIP_FOR_ENTITY(entity);<br>Blip::SET_BLIP_COLOUR(blip , 3);<br>Blip::SET_BLIP_ALPHA(blip , 64);<br>
Sets alpha-channel for blip color.<br><br>Example:<br><br>Blip blip = Blip::ADD_BLIP_FOR_ENTITY(entity);<br>Blip::SET_BLIP_COLOUR(blip , 3);<br>Blip::SET_BLIP_ALPHA(blip , 64);<br>
==Syntax==
==Syntax==
<syntaxhighlight lang="javascript">blip.setAlpha(blip, alpha);</syntaxhighlight>
<syntaxhighlight lang="javascript">blip.setAlpha(alpha);</syntaxhighlight>
=== Required Arguments ===
=== Required Arguments ===
*'''blip:''' Blip
*'''alpha:''' int
*'''alpha:''' int
===Return value===
===Return value===

Revision as of 14:48, 8 December 2017