getAiPedPedBlipIndex
GET_AI_PED_PED_BLIP_INDEX0x7CD934010E115C2CThe GTA V native GET_AI_PED_PED_BLIP_INDEX of the HUD namespace, as LS:MP client scripts call it: the global function getAiPedPedBlipIndex, in JavaScript and in Lua.
getAiPedPedBlipIndex(ped: Ped): BlipgetAiPedPedBlipIndex(ped: Ped): BlipUsage
JavaScript
const blip = getAiPedPedBlipIndex(ped);Lua
local blip = getAiPedPedBlipIndex(ped)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
ped | Ped | number | integer |
Returns
Blip JavaScript number, Lua integerHandle of a map blip.
Reference
- Namespace
- HUD HUD
- In the game
Blip GET_AI_PED_PED_BLIP_INDEX(Ped ped)- Hash
0x7CD934010E115C2C- Formerly
_GET_AI_BLIP_2