HUDClientBlocked

setPauseMenuActive

SET_PAUSE_MENU_ACTIVE0xDF47FC56C71569CF

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

SignatureJavaScript
setPauseMenuActive(toggle: boolean): void
SignatureLua
setPauseMenuActive(toggle: boolean)
✕
Blocked for scripts: Shared menus and input

LS:MP manages the shared frontend, text-entry dialog and input layout. Use the LS:MP page and input APIs for resource UI.

Calling it raises disabled by LSMP script policy, which try / catch (JavaScript) or pcall (Lua) can intercept. Nothing reaches the game. See Blocked natives.

Reference

Namespace
HUD HUD
In the game
void SET_PAUSE_MENU_ACTIVE(BOOL toggle)
Hash
0xDF47FC56C71569CF

Open in the interactive natives reference