getPauseMenuState
GET_PAUSE_MENU_STATE0x272ACD84970869C5The GTA V native GET_PAUSE_MENU_STATE of the HUD namespace, as LS:MP client scripts call it: the global function getPauseMenuState, in JavaScript and in Lua.
getPauseMenuState(): numbergetPauseMenuState(): integerUsage
JavaScript
const result = getPauseMenuState();Lua
local result = getPauseMenuState()Parameters
None.
Returns
int JavaScript number, Lua integerNotes
From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.
Returns:
0
5
10
15
20
25
30
35
Reference
- Namespace
- HUD HUD
- In the game
int GET_PAUSE_MENU_STATE()- Hash
0x272ACD84970869C5