setPedAiBlipForcedOn
SET_PED_AI_BLIP_FORCED_ON0x0C4BBF625CA98C4EThe 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.
setPedAiBlipForcedOn(ped: Ped, toggle: boolean): voidsetPedAiBlipForcedOn(ped: Ped, toggle: boolean)Usage
JavaScript
setPedAiBlipForcedOn(ped, toggle);Lua
setPedAiBlipForcedOn(ped, toggle)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
ped | Ped | number | integer |
toggle | BOOL | boolean | boolean |
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