RedM Natives

IS_UIAPP_RUNNING

Returns true if the Native UI Application is running.

Hash0xDE4A9B35D028979F
Runtime nameIsUiappRunning
NamespaceUIAPPS
SideClient
NameOfficial
Docs
Since build1232

Signature

BOOL IS_UIAPP_RUNNING(const char* appName);

Parameters

NameTypeDescription
appNameconst char*—

Returns BOOL

Description

VORPCORE RDR3natives

Returns true if the Native UI Application is running.

Usage

Lua
local retval = IsUiappRunning(appName)

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

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

Sources

alloc8or RDR3 NativeDB · VORPCORE RDR3natives

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