HUDClient

setBlockWantedFlash

SET_BLOCK_WANTED_FLASH0xD1942374085C8469

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

SignatureJavaScript
setBlockWantedFlash(disabled: boolean): void
SignatureLua
setBlockWantedFlash(disabled: boolean)

Usage

JavaScript
setBlockWantedFlash(disabled);
Lua
setBlockWantedFlash(disabled)

Parameters

ParameterTypeJavaScriptLua
disabledBOOLbooleanboolean

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
HUD HUD
In the game
void SET_BLOCK_WANTED_FLASH(BOOL disabled)
Hash
0xD1942374085C8469
Introduced
Game build 505 legacy numbering

Open in the interactive natives reference