HUDClient

setPedHasAiBlipWithColour

SET_PED_HAS_AI_BLIP_WITH_COLOUR0xB13DCB4C6FAAD238

The GTA V native SET_PED_HAS_AI_BLIP_WITH_COLOUR of the HUD namespace, as LS:MP client scripts call it: the global function setPedHasAiBlipWithColour, in JavaScript and in Lua.

SignatureJavaScript
setPedHasAiBlipWithColour(ped: Ped, hasCone: boolean, color: number): void
SignatureLua
setPedHasAiBlipWithColour(ped: Ped, hasCone: boolean, color: integer)

Usage

JavaScript
setPedHasAiBlipWithColour(ped, hasCone, color);
Lua
setPedHasAiBlipWithColour(ped, hasCone, color)

Parameters

ParameterTypeJavaScriptLuaDescription
pedPednumberinteger
hasConeBOOLbooleanboolean
colorintnumberintegersee setBlipColour

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
HUD HUD
In the game
void SET_PED_HAS_AI_BLIP_WITH_COLOUR(Ped ped, BOOL hasCone, int color)
Hash
0xB13DCB4C6FAAD238
Introduced
Game build 505 legacy numbering
Formerly
_SET_PED_HAS_AI_BLIP_WITH_COLOR

Open in the interactive natives reference