RedM Natives

UGC_RELEASE_CACHED_DESCRIPTION

Hash0x5A34CD9C3C5BEC44
Runtime nameUgcReleaseCachedDescription
NamespaceNETWORK
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0x5A34CD9C3C5BEC44

Signature

BOOL UGC_RELEASE_CACHED_DESCRIPTION(Hash description);

Parameters

NameTypeDescription
descriptionHash—

Returns BOOL

Usage

Lua
local retval = UgcReleaseCachedDescription(description)

-- always works, by hash
local retval = Citizen.InvokeNative(0x5A34CD9C3C5BEC44, description, Citizen.ReturnResultAnyway())
JavaScript and C#
JavaScript
const retval = UgcReleaseCachedDescription(description);

// by hash
const retval = Citizen.invokeNative('0x5A34CD9C3C5BEC44', description, Citizen.returnResultAnyway());
C#
bool retval = Function.Call<bool>((Hash)0x5A34CD9C3C5BEC44, description);
  • 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.