getBlipInfoIdPickupIndex
GET_BLIP_INFO_ID_PICKUP_INDEX0x9B6786E4C03DD382The GTA V native GET_BLIP_INFO_ID_PICKUP_INDEX of the HUD namespace, as LS:MP client scripts call it: the global function getBlipInfoIdPickupIndex, in JavaScript and in Lua.
getBlipInfoIdPickupIndex(blip: Blip): PickupgetBlipInfoIdPickupIndex(blip: Blip): PickupUsage
JavaScript
const pickup = getBlipInfoIdPickupIndex(blip);Lua
local pickup = getBlipInfoIdPickupIndex(blip)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
blip | Blip | number | integer |
Returns
Pickup JavaScript number, Lua integerHandle of a pickup.
Notes
From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.
This function is hard-coded to always return 0.
Reference
- Namespace
- HUD HUD
- In the game
Pickup GET_BLIP_INFO_ID_PICKUP_INDEX(Blip blip)- Hash
0x9B6786E4C03DD382