getAiPedVehicleBlipIndex
GET_AI_PED_VEHICLE_BLIP_INDEX0x56176892826A4FE8The GTA V native GET_AI_PED_VEHICLE_BLIP_INDEX of the HUD namespace, as LS:MP client scripts call it: the global function getAiPedVehicleBlipIndex, in JavaScript and in Lua.
getAiPedVehicleBlipIndex(ped: Ped): BlipgetAiPedVehicleBlipIndex(ped: Ped): BlipUsage
JavaScript
const blip = getAiPedVehicleBlipIndex(ped);Lua
local blip = getAiPedVehicleBlipIndex(ped)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
ped | Ped | number | integer |
Returns
Blip JavaScript number, Lua integerHandle of a map blip.
Notes
From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.
Returns the current AI BLIP for the specified ped
Reference
- Namespace
- HUD HUD
- In the game
Blip GET_AI_PED_VEHICLE_BLIP_INDEX(Ped ped)- Hash
0x56176892826A4FE8- Formerly
_GET_AI_BLIP