setPedHasAiBlipWithColour
SET_PED_HAS_AI_BLIP_WITH_COLOUR0xB13DCB4C6FAAD238The 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.
setPedHasAiBlipWithColour(ped: Ped, hasCone: boolean, color: number): voidsetPedHasAiBlipWithColour(ped: Ped, hasCone: boolean, color: integer)Usage
JavaScript
setPedHasAiBlipWithColour(ped, hasCone, color);Lua
setPedHasAiBlipWithColour(ped, hasCone, color)Parameters
| Parameter | Type | JavaScript | Lua | Description |
|---|---|---|---|---|
ped | Ped | number | integer | |
hasCone | BOOL | boolean | boolean | |
color | int | number | integer | see 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