The Lab
UIAPPS native

LAUNCH_UIAPP_BY_HASH_WITH_ENTRY

returns int2 paramsbuild 1207

Launches the UI app appNameHash directly at the entry point entryHash and returns a result code.

Signature

C
int LAUNCH_UIAPP_BY_HASH_WITH_ENTRY(Hash appNameHash, Hash entryHash); // 0xC1BCF31E975B3195 b1207

Parameters

#NameType
1appNameHashHash
2entryHashHash

Facts

Facts about LAUNCH_UIAPP_BY_HASH_WITH_ENTRY
Name
LAUNCH_UIAPP_BY_HASH_WITH_ENTRY
Hash
0xC1BCF31E975B3195
Namespace
Returns
int
Game build
1207

Examples

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

Lua
local result = Citizen.InvokeNative(0xC1BCF31E975B3195, -- LAUNCH_UIAPP_BY_HASH_WITH_ENTRY
  GetHashKey("name"), -- Hash appNameHash
  GetHashKey("name"), -- Hash entryHash
  Citizen.ResultAsInteger()
)
print(result)
JavaScript
const result = Citizen.invokeNative("0xC1BCF31E975B3195", // LAUNCH_UIAPP_BY_HASH_WITH_ENTRY
  GetHashKey("name"), // Hash appNameHash
  GetHashKey("name"), // Hash entryHash
  Citizen.resultAsInteger()
);
console.log(result)
C#
int result = Function.Call<int>((Hash)0xC1BCF31E975B3195, // LAUNCH_UIAPP_BY_HASH_WITH_ENTRY
  (uint)API.GetHashKey("name"), // Hash appNameHash
  (uint)API.GetHashKey("name") // Hash entryHash
);
All UIAPPS natives

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