getClosestBlipInfoId
GET_CLOSEST_BLIP_INFO_ID0xD484BF71050CA1EEThe GTA V native GET_CLOSEST_BLIP_INFO_ID of the HUD namespace, as LS:MP client scripts call it: the global function getClosestBlipInfoId, in JavaScript and in Lua.
getClosestBlipInfoId(blipSprite: number): BlipgetClosestBlipInfoId(blipSprite: integer): BlipUsage
JavaScript
const blip = getClosestBlipInfoId(blipSprite);Lua
local blip = getClosestBlipInfoId(blipSprite)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
blipSprite | int | number | integer |
Returns
Blip JavaScript number, Lua integerHandle of a map blip.
Reference
- Namespace
- HUD HUD
- In the game
Blip GET_CLOSEST_BLIP_INFO_ID(int blipSprite)- Hash
0xD484BF71050CA1EE- Introduced
- Game build 1180 legacy numbering
- Formerly
_GET_CLOSEST_BLIP_OF_TYPE