RedM Natives

_CLOSE_UIAPP_BY_HASH_IMMEDIATE

Immediately closes the specified UI app by its hash.

Hash0x04428420A248A354
Runtime nameCloseUiappByHashImmediate
NamespaceUIAPPS
SideClient
NameCommunity guess
Docs
Since build1207

Signature

void _CLOSE_UIAPP_BY_HASH_IMMEDIATE(Hash appNameHash);

Parameters

NameTypeDescription
appNameHashHash—

Returns void

Description

VORPCORE RDR3natives

Immediately closes the specified UI app by its hash.

Usage

Lua
CloseUiappByHashImmediate(appNameHash)

-- always works, by hash
Citizen.InvokeNative(0x04428420A248A354, appNameHash)
JavaScript and C#
JavaScript
CloseUiappByHashImmediate(appNameHash);

// by hash
Citizen.invokeNative('0x04428420A248A354', appNameHash);
C#
Function.Call((Hash)0x04428420A248A354, appNameHash);
  • 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`.
  • The name is a community guess and may change. If the named call is missing in your client build, use InvokeNative with the hash — it always works.

Sources

alloc8or RDR3 NativeDB · VORPCORE RDR3natives

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