HUDClient

setPedAiBlipNoticeRange

SET_PED_AI_BLIP_NOTICE_RANGE0x97C65887D4B37FA9

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

SignatureJavaScript
setPedAiBlipNoticeRange(ped: Ped, range: number): void
SignatureLua
setPedAiBlipNoticeRange(ped: Ped, range: number)

Usage

JavaScript
setPedAiBlipNoticeRange(ped, range);
Lua
setPedAiBlipNoticeRange(ped, range)

Parameters

ParameterTypeJavaScriptLua
pedPednumberinteger
rangefloatnumbernumber

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
HUD HUD
In the game
void SET_PED_AI_BLIP_NOTICE_RANGE(Ped ped, float range)
Hash
0x97C65887D4B37FA9
Formerly
_SET_AI_BLIP_MAX_DISTANCE

Open in the interactive natives reference