The Lab
UIAPPS native

CAN_LAUNCH_UIAPP_BY_HASH_WITH_ENTRY

returns BOOL2 paramsbuild 1207

Returns true if the UI app appNameHash can be launched at the entry point entryHash.

Signature

C
BOOL CAN_LAUNCH_UIAPP_BY_HASH_WITH_ENTRY(Hash appNameHash, Hash entryHash); // 0x16F47D434B6086BF b1207

Parameters

#NameType
1appNameHashHash
2entryHashHash

Facts

Facts about CAN_LAUNCH_UIAPP_BY_HASH_WITH_ENTRY
Name
CAN_LAUNCH_UIAPP_BY_HASH_WITH_ENTRY
Hash
0x16F47D434B6086BF
Namespace
Returns
BOOL
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(0x16F47D434B6086BF, -- CAN_LAUNCH_UIAPP_BY_HASH_WITH_ENTRY
  GetHashKey("name"), -- Hash appNameHash
  GetHashKey("name") -- Hash entryHash
)
if result then
  -- ...
end
JavaScript
const result = Citizen.invokeNative("0x16F47D434B6086BF", // CAN_LAUNCH_UIAPP_BY_HASH_WITH_ENTRY
  GetHashKey("name"), // Hash appNameHash
  GetHashKey("name"), // Hash entryHash
  Citizen.returnResultAnyway()
);
if (result) {
  // ...
}
C#
bool result = Function.Call<bool>((Hash)0x16F47D434B6086BF, // CAN_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.