RedM Natives

IS_SYSTEM_UI_BEING_DISPLAYED

Hash0x908258B6209E71F7
Runtime nameIsSystemUiBeingDisplayed
NamespacePLAYER
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0x5D511E3867C87139

Signature

BOOL IS_SYSTEM_UI_BEING_DISPLAYED();

Returns BOOL

Usage

Lua
local retval = IsSystemUiBeingDisplayed()

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

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

Sources

alloc8or RDR3 NativeDB

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