HUDClient

setPedAiBlipForcedOn

SET_PED_AI_BLIP_FORCED_ON0x0C4BBF625CA98C4E

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

SignatureJavaScript
setPedAiBlipForcedOn(ped: Ped, toggle: boolean): void
SignatureLua
setPedAiBlipForcedOn(ped: Ped, toggle: boolean)

Usage

JavaScript
setPedAiBlipForcedOn(ped, toggle);
Lua
setPedAiBlipForcedOn(ped, toggle)

Parameters

ParameterTypeJavaScriptLua
pedPednumberinteger
toggleBOOLbooleanboolean

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
HUD HUD
In the game
void SET_PED_AI_BLIP_FORCED_ON(Ped ped, BOOL toggle)
Hash
0x0C4BBF625CA98C4E
Formerly
_IS_AI_BLIP_ALWAYS_SHOWN

Open in the interactive natives reference