RedM Natives

CAN_LAUNCH_UIAPP_BY_HASH_WITH_ENTRY

Hash0x16F47D434B6086BF
Runtime nameCanLaunchUiappByHashWithEntry
NamespaceUIAPPS
SideClient
NameOfficial
Docs
Since build1207

Signature

BOOL CAN_LAUNCH_UIAPP_BY_HASH_WITH_ENTRY(Hash appNameHash, Hash entryHash);

Parameters

NameTypeDescription
appNameHashHash—
entryHashHash—

Returns BOOL

Usage

Lua
local retval = CanLaunchUiappByHashWithEntry(appNameHash, entryHash)

-- always works, by hash
local retval = Citizen.InvokeNative(0x16F47D434B6086BF, appNameHash, entryHash, Citizen.ReturnResultAnyway())
JavaScript and C#
JavaScript
const retval = CanLaunchUiappByHashWithEntry(appNameHash, entryHash);

// by hash
const retval = Citizen.invokeNative('0x16F47D434B6086BF', appNameHash, entryHash, Citizen.returnResultAnyway());
C#
bool retval = Function.Call<bool>((Hash)0x16F47D434B6086BF, appNameHash, entryHash);
  • Hash parameters: the named function also accepts a string and hashes it for you; Citizen.InvokeNative needs the number — pass joaat("name") or a backtick literal like `name`.

Sources

alloc8or RDR3 NativeDB

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.