LAUNCH_UIAPP_BY_HASH_WITH_ENTRY
Hash
0xC1BCF31E975B3195Runtime name
LaunchUiappByHashWithEntryNamespaceUIAPPS
SideClient
NameOfficial
Docs
Since build1207
Signature
int LAUNCH_UIAPP_BY_HASH_WITH_ENTRY(Hash appNameHash, Hash entryHash);Parameters
| Name | Type | Description |
|---|---|---|
appNameHash | Hash | — |
entryHash | Hash | — |
Returns int
Usage
local retval = LaunchUiappByHashWithEntry(appNameHash, entryHash)
-- always works, by hash
local retval = Citizen.InvokeNative(0xC1BCF31E975B3195, appNameHash, entryHash, Citizen.ResultAsInteger())JavaScript and C#
const retval = LaunchUiappByHashWithEntry(appNameHash, entryHash);
// by hash
const retval = Citizen.invokeNative('0xC1BCF31E975B3195', appNameHash, entryHash, Citizen.returnResultAnyway(), Citizen.resultAsInteger());int retval = Function.Call<int>((Hash)0xC1BCF31E975B3195, 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.