HUDClient

isWarningMessageActive

IS_WARNING_MESSAGE_ACTIVE0xE18B138FABC53103

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

SignatureJavaScript
isWarningMessageActive(): boolean
SignatureLua
isWarningMessageActive(): boolean

Usage

JavaScript
const result = isWarningMessageActive();
Lua
local result = isWarningMessageActive()

Parameters

None.

Returns

BOOL JavaScript boolean, Lua boolean

Reference

Namespace
HUD HUD
In the game
BOOL IS_WARNING_MESSAGE_ACTIVE()
Hash
0xE18B138FABC53103
Formerly
IS_MEDICAL_DISABLED

Open in the interactive natives reference