IS_UIAPP_RUNNING
Returns true if the UI app named appName is running.
Signature
BOOL IS_UIAPP_RUNNING(const char* appName); // 0xDE4A9B35D028979F b1232Parameters
| # | Name | Type |
|---|---|---|
| 1 | appName | const char* |
Facts
| 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.
local result = Citizen.InvokeNative(0xDE4A9B35D028979F, -- IS_UIAPP_RUNNING
"text" -- const char* appName
)
if result then
-- ...
endconst result = Citizen.invokeNative("0xDE4A9B35D028979F", // IS_UIAPP_RUNNING
"text", // const char* appName
Citizen.returnResultAnyway()
);
if (result) {
// ...
}bool result = Function.Call<bool>((Hash)0xDE4A9B35D028979F, // IS_UIAPP_RUNNING
"text" // const char* appName
);Related UIAPPS natives
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.