The Lab
UIAPPS native

IS_UIAPP_RUNNING

returns BOOL1 parambuild 1232

Returns true if the UI app named appName is running.

Signature

C
BOOL IS_UIAPP_RUNNING(const char* appName); // 0xDE4A9B35D028979F b1232

Parameters

#NameType
1appNameconst char*

Facts

Facts about IS_UIAPP_RUNNING
Name
IS_UIAPP_RUNNING
Hash
0xDE4A9B35D028979F
Namespace
Returns
BOOL
Game build
1232

Examples

Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.

Lua
local result = Citizen.InvokeNative(0xDE4A9B35D028979F, -- IS_UIAPP_RUNNING
  "text" -- const char* appName
)
if result then
  -- ...
end
JavaScript
const result = Citizen.invokeNative("0xDE4A9B35D028979F", // IS_UIAPP_RUNNING
  "text", // const char* appName
  Citizen.returnResultAnyway()
);
if (result) {
  // ...
}
C#
bool result = Function.Call<bool>((Hash)0xDE4A9B35D028979F, // IS_UIAPP_RUNNING
  "text" // const char* appName
);
All UIAPPS natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.