LAUNCH_UIAPP_WITH_ENTRY
Launches the UI app named appName at the entry point named entry and returns a result code.
Signature
int LAUNCH_UIAPP_WITH_ENTRY(const char* appName, const char* entry); // 0x7B2027BAC5C8EC89 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | appName | const char* |
| 2 | entry | const char* |
Facts
| Name | LAUNCH_UIAPP_WITH_ENTRY |
|---|---|
| Hash | 0x7B2027BAC5C8EC89 |
| Namespace | |
| Returns | int |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
local result = Citizen.InvokeNative(0x7B2027BAC5C8EC89, -- LAUNCH_UIAPP_WITH_ENTRY
"text", -- const char* appName
"text", -- const char* entry
Citizen.ResultAsInteger()
)
print(result)const result = Citizen.invokeNative("0x7B2027BAC5C8EC89", // LAUNCH_UIAPP_WITH_ENTRY
"text", // const char* appName
"text", // const char* entry
Citizen.resultAsInteger()
);
console.log(result)int result = Function.Call<int>((Hash)0x7B2027BAC5C8EC89, // LAUNCH_UIAPP_WITH_ENTRY
"text", // const char* appName
"text" // const char* entry
);Related UIAPPS natives
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.