HUDClientChecked by LS:MP

resetGlobalActionscriptFlag

RESET_GLOBAL_ACTIONSCRIPT_FLAG0xB99C4E4D9499DF29

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

SignatureJavaScript
resetGlobalActionscriptFlag(flagIndex: number): void
SignatureLua
resetGlobalActionscriptFlag(flagIndex: integer)

Usage

JavaScript
resetGlobalActionscriptFlag(flagIndex);
Lua
resetGlobalActionscriptFlag(flagIndex)

Parameters

ParameterTypeJavaScriptLua
flagIndexintnumberinteger

Returns

Nothing. In JavaScript the call evaluates to undefined.

On LS:MP

ℹ
Checked by LS:MP

flagIndex must be between 0 and 19. Otherwise the call is ignored: nothing reaches the game, and no error is raised.

Reference

Namespace
HUD HUD
In the game
void RESET_GLOBAL_ACTIONSCRIPT_FLAG(int flagIndex)
Hash
0xB99C4E4D9499DF29

Open in the interactive natives reference