RedM Natives

IS_ANY_UIAPP_ACTIVE

Hash0xAC959AB99AAF3D9F
Runtime nameIsAnyUiappActive
NamespaceUIAPPS
SideClient
NameOfficial
Docs
Since build1207

Signature

BOOL IS_ANY_UIAPP_ACTIVE();

Returns BOOL

Usage

Lua
local retval = IsAnyUiappActive()

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

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

Sources

alloc8or RDR3 NativeDB

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