SetBlipTransparency

From GT-MP
Jump to: navigation, search
SetBlipTransparency
Shared Function
Utilities-terminal.png Server-Side System-users.png Client-Side
Csharp.png C# Javascript.png JavaScript

Gets the transparency (alpha) of a blip.

Syntax

In C#
Server-Side Function

API.setBlipTransparency(NetHandle blip, int alpha);

Required Arguments

  • blip parameter input should be in NetHandle type.
  • alpha parameter input should be in int type.

In Javascript
Client-Side Function

API.setBlipTransparency(NetHandle blip, int alpha);

Required Arguments

  • blip parameter input should be in NetHandle type.
  • alpha parameter input should be in int type.

Usage example

In C#
Server-Side Function

API.setBlipTransparency(NetHandle blip, int alpha);

In Javascript
Client-Side Function

API.setBlipTransparency(NetHandle blip, int alpha);

References