HUDClient

allowSonarBlips

ALLOW_SONAR_BLIPS0x60734CC207C9833C

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

SignatureJavaScript
allowSonarBlips(toggle: boolean): void
SignatureLua
allowSonarBlips(toggle: boolean)

Usage

JavaScript
allowSonarBlips(toggle);
Lua
allowSonarBlips(toggle)

Parameters

ParameterTypeJavaScriptLua
toggleBOOLbooleanboolean

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
HUD HUD
In the game
void ALLOW_SONAR_BLIPS(BOOL toggle)
Hash
0x60734CC207C9833C

Open in the interactive natives reference