SetBlipTransparency: Difference between revisions

From RAGE Multiplayer Wiki
(Created page with "Sets the transparency (alpha) of a blip. ==Syntax== <pre>void NAPI.Blip.SetBlipTransparency(Blip blip, int alpha);</pre> === Required Arguments === *'''blip:''' The blip to...")
 
 

Latest revision as of 12:45, 27 November 2019

Sets the transparency (alpha) of a blip.

Syntax

void NAPI.Blip.SetBlipTransparency(Blip blip, int alpha);

Required Arguments

  • blip: The blip to get the name from. Parameter input should be in Blip type
  • alpha: The alpha amount to use. Setting 0 will make the blip invisible. 255 is the maximum which makes the blip fully visible. This parameter input should be in int type

Example

C# Syntax

Example

NAPI.Blip.SetBlipTransparency(myBlip, 30);