HUDClient

pauseMenuIsContextActive

PAUSE_MENU_IS_CONTEXT_ACTIVE0x84698AB38D0C6636

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

SignatureJavaScript
pauseMenuIsContextActive(contextHash: Hash): boolean
SignatureLua
pauseMenuIsContextActive(contextHash: Hash): boolean

Usage

JavaScript
const result = pauseMenuIsContextActive(contextHash);
Lua
local result = pauseMenuIsContextActive(contextHash)

Parameters

ParameterTypeJavaScriptLua
contextHashHashnumberinteger

Returns

BOOL JavaScript boolean, Lua boolean

Reference

Namespace
HUD HUD
In the game
BOOL PAUSE_MENU_IS_CONTEXT_ACTIVE(Hash contextHash)
Hash
0x84698AB38D0C6636

Open in the interactive natives reference