HUDClient

setGpsFlashes

SET_GPS_FLASHES0x320D0E0D936A0E9B

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

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

Usage

JavaScript
setGpsFlashes(toggle);
Lua
setGpsFlashes(toggle)

Parameters

ParameterTypeJavaScriptLua
toggleBOOLbooleanboolean

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
HUD HUD
In the game
void SET_GPS_FLASHES(BOOL toggle)
Hash
0x320D0E0D936A0E9B

Open in the interactive natives reference