HUDClient

getBlipSprite

GET_BLIP_SPRITE0x1FC877464A04FC4F

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

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

Usage

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

Parameters

ParameterTypeJavaScriptLua
blipBlipnumberinteger

Returns

int JavaScript number, Lua integer

Notes

From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.

Blips Images + IDs:
gtaxscripting.blogspot.com/2016/05/gta-v-blips-id-and-image.html

Reference

Namespace
HUD HUD
In the game
int GET_BLIP_SPRITE(Blip blip)
Hash
0x1FC877464A04FC4F

Open in the interactive natives reference