HUDClient

getCurrentFrontendMenuVersion

GET_CURRENT_FRONTEND_MENU_VERSION0x2309595AD6145265

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

SignatureJavaScript
getCurrentFrontendMenuVersion(): Hash
SignatureLua
getCurrentFrontendMenuVersion(): Hash

Usage

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

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.

if (getCurrentFrontendMenuVersion() == joaat("fe_menu_version_empty_no_background"))

Reference

Namespace
HUD HUD
In the game
Hash GET_CURRENT_FRONTEND_MENU_VERSION()
Hash
0x2309595AD6145265
Formerly
_GET_CURRENT_FRONTEND_MENU

Open in the interactive natives reference