getBlipInfoIdEntityIndex
GET_BLIP_INFO_ID_ENTITY_INDEX0x4BA4E2553AFEDC2CThe GTA V native GET_BLIP_INFO_ID_ENTITY_INDEX of the HUD namespace, as LS:MP client scripts call it: the global function getBlipInfoIdEntityIndex, in JavaScript and in Lua.
getBlipInfoIdEntityIndex(blip: Blip): EntitygetBlipInfoIdEntityIndex(blip: Blip): EntityUsage
JavaScript
const entity = getBlipInfoIdEntityIndex(blip);Lua
local entity = getBlipInfoIdEntityIndex(blip)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
blip | Blip | number | integer |
Returns
Entity JavaScript number, Lua integerGame handle of an entity: a ped, a vehicle or an object. Not an LS:MP netId. Convert one with lsmp.getEntityFromNetId.
Reference
- Namespace
- HUD HUD
- In the game
Entity GET_BLIP_INFO_ID_ENTITY_INDEX(Blip blip)- Hash
0x4BA4E2553AFEDC2C