RedM Natives

IS_PAUSE_MENU_ACTIVE

Returns true when either Pause Menu, a Frontend Menu, Online Policies menu or Social Club menu is active.

Hash0x535384D6067BA42E
Runtime nameIsPauseMenuActive
NamespaceHUD
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0xB0034A223497FFCB

Signature

BOOL IS_PAUSE_MENU_ACTIVE();

Returns BOOL

Description

Returns true when either Pause Menu, a Frontend Menu, Online Policies menu or Social Club menu is active.

Usage

Lua
local retval = IsPauseMenuActive()

-- always works, by hash
local retval = Citizen.InvokeNative(0x535384D6067BA42E, Citizen.ReturnResultAnyway())
JavaScript and C#
JavaScript
const retval = IsPauseMenuActive();

// by hash
const retval = Citizen.invokeNative('0x535384D6067BA42E', Citizen.returnResultAnyway());
C#
bool retval = Function.Call<bool>((Hash)0x535384D6067BA42E);

Sources

alloc8or RDR3 NativeDB

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.