SetBlipTransparency

From GTA Network Wiki
Jump to: navigation, search

SetBlipTransparency
Server-Side Function

utilities-terminal.png Server-Side csharp.png C#

Sets the transparency (alpha) of a blip.

Syntax

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

Required Arguments

  • blip: The blip to set the transparency. This 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.

Usage example(s)

Makes a blip almost invisible.

NAPI.Blip.SetBlipTransparency(myBlip, 30);

Changelog

Version Description
1.0 Release.

References