HUDClient

getFirstBlipInfoId

GET_FIRST_BLIP_INFO_ID0x1BEDE233E6CD2A1F

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

SignatureJavaScript
getFirstBlipInfoId(blipSprite: number): Blip
SignatureLua
getFirstBlipInfoId(blipSprite: integer): Blip

Usage

JavaScript
const blip = getFirstBlipInfoId(blipSprite);
Lua
local blip = getFirstBlipInfoId(blipSprite)

Parameters

ParameterTypeJavaScriptLua
blipSpriteintnumberinteger

Returns

Blip JavaScript number, Lua integer

Handle of a map blip.

Reference

Namespace
HUD HUD
In the game
Blip GET_FIRST_BLIP_INFO_ID(int blipSprite)
Hash
0x1BEDE233E6CD2A1F

Open in the interactive natives reference