setMinimapSonarSweep
SET_MINIMAP_SONAR_SWEEP0x6B50FC8749632EC1The GTA V native SET_MINIMAP_SONAR_SWEEP of the HUD namespace, as LS:MP client scripts call it: the global function setMinimapSonarSweep, in JavaScript and in Lua.
setMinimapSonarSweep(toggle: boolean): voidsetMinimapSonarSweep(toggle: boolean)Usage
JavaScript
setMinimapSonarSweep(toggle);Lua
setMinimapSonarSweep(toggle)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
toggle | BOOL | boolean | boolean |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Reference
- Namespace
- HUD HUD
- In the game
void SET_MINIMAP_SONAR_SWEEP(BOOL toggle)- Hash
0x6B50FC8749632EC1- Introduced
- Game build 2189 legacy numbering
- Formerly
_SET_MINIMAP_SONAR_ENABLED