HUDClient

getBlipInfoIdType

GET_BLIP_INFO_ID_TYPE0xBE9B0959FFD0779B

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

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

Usage

JavaScript
const result = getBlipInfoIdType(blip);
Lua
local result = getBlipInfoIdType(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.

Returns a value based on what the blip is attached to
1 - Vehicle
2 - Ped
3 - Object
4 - Coord
5 - unk
6 - Pickup
7 - Radius

Reference

Namespace
HUD HUD
In the game
int GET_BLIP_INFO_ID_TYPE(Blip blip)
Hash
0xBE9B0959FFD0779B

Open in the interactive natives reference