HUDClient

getWarningScreenMessageHash

GET_WARNING_SCREEN_MESSAGE_HASH0x81DF9ABA6C83DFF9

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

SignatureJavaScript
getWarningScreenMessageHash(): Hash
SignatureLua
getWarningScreenMessageHash(): Hash

Usage

JavaScript
const hash = getWarningScreenMessageHash();
Lua
local hash = getWarningScreenMessageHash()

Parameters

None.

Returns

Hash JavaScript number, Lua integer

A game hash. Natives return it unsigned (0 to 4294967295), the value lsmp.hash gives. As an argument, the signed and unsigned forms of a hash are the same value.

Notes

From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.

Has to do with the confirmation overlay (E.g. confirm exit)

Reference

Namespace
HUD HUD
In the game
Hash GET_WARNING_SCREEN_MESSAGE_HASH()
Hash
0x81DF9ABA6C83DFF9
Introduced
Game build 1290 legacy numbering
Formerly
_GET_WARNING_MESSAGE_TITLE_HASH

Open in the interactive natives reference