CAN_LAUNCH_UIAPP_BY_HASH_WITH_ENTRY
Hash
0x16F47D434B6086BFRuntime name
CanLaunchUiappByHashWithEntryNamespaceUIAPPS
SideClient
NameOfficial
Docs
Since build1207
Signature
BOOL CAN_LAUNCH_UIAPP_BY_HASH_WITH_ENTRY(Hash appNameHash, Hash entryHash);Parameters
| Name | Type | Description |
|---|---|---|
appNameHash | Hash | — |
entryHash | Hash | — |
Returns BOOL
Usage
local retval = CanLaunchUiappByHashWithEntry(appNameHash, entryHash)
-- always works, by hash
local retval = Citizen.InvokeNative(0x16F47D434B6086BF, appNameHash, entryHash, Citizen.ReturnResultAnyway())JavaScript and C#
const retval = CanLaunchUiappByHashWithEntry(appNameHash, entryHash);
// by hash
const retval = Citizen.invokeNative('0x16F47D434B6086BF', appNameHash, entryHash, Citizen.returnResultAnyway());bool retval = Function.Call<bool>((Hash)0x16F47D434B6086BF, appNameHash, entryHash);- Hash parameters: the named function also accepts a string and hashes it for you;
Citizen.InvokeNativeneeds the number — passjoaat("name")or a backtick literal like`name`.
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.