HUDClient

getBlipAlpha

GET_BLIP_ALPHA0x970F608F0EE6C885

The GTA V native GET_BLIP_ALPHA of the HUD namespace, as LS:MP client scripts call it: the global function getBlipAlpha, in JavaScript and in Lua.

SignatureJavaScript
getBlipAlpha(blip: Blip): number
SignatureLua
getBlipAlpha(blip: Blip): integer

Usage

JavaScript
const result = getBlipAlpha(blip);
Lua
local result = getBlipAlpha(blip)

Parameters

ParameterTypeJavaScriptLua
blipBlipnumberinteger

Returns

int JavaScript number, Lua integer

Reference

Namespace
HUD HUD
In the game
int GET_BLIP_ALPHA(Blip blip)
Hash
0x970F608F0EE6C885

Open in the interactive natives reference