HUDClient

getAiPedVehicleBlipIndex

GET_AI_PED_VEHICLE_BLIP_INDEX0x56176892826A4FE8

The 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.

SignatureJavaScript
getAiPedVehicleBlipIndex(ped: Ped): Blip
SignatureLua
getAiPedVehicleBlipIndex(ped: Ped): Blip

Usage

JavaScript
const blip = getAiPedVehicleBlipIndex(ped);
Lua
local blip = getAiPedVehicleBlipIndex(ped)

Parameters

ParameterTypeJavaScriptLua
pedPednumberinteger

Returns

Blip JavaScript number, Lua integer

Handle 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

Open in the interactive natives reference