LAUNCH_UIAPP_BY_HASH
Lauches the specified UI app by its hash.
Hash
0xC8FC7F4E4CF4F581Runtime name
LaunchUiappByHashNamespaceUIAPPS
SideClient
NameOfficial
Docs
Since build1207
Signature
int LAUNCH_UIAPP_BY_HASH(Hash appNameHash);Parameters
| Name | Type | Description |
|---|---|---|
appNameHash | Hash | — |
Returns int
Description
Lauches the specified UI app by its hash.
Usage
local retval = LaunchUiappByHash(appNameHash)
-- always works, by hash
local retval = Citizen.InvokeNative(0xC8FC7F4E4CF4F581, appNameHash, Citizen.ResultAsInteger())JavaScript and C#
const retval = LaunchUiappByHash(appNameHash);
// by hash
const retval = Citizen.invokeNative('0xC8FC7F4E4CF4F581', appNameHash, Citizen.returnResultAnyway(), Citizen.resultAsInteger());int retval = Function.Call<int>((Hash)0xC8FC7F4E4CF4F581, appNameHash);- 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`.
See also
_CLOSE_UIAPP_BY_HASHCloses Ui App by hash
Sources
alloc8or RDR3 NativeDB · VORPCORE RDR3natives
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.