UGC_REQUEST_CACHED_DESCRIPTION
Hash
0x5E0165278F6339EERuntime name
UgcRequestCachedDescriptionNamespaceNETWORK
SideClient
NameOfficial
Docs
Since build1207
GTA V hash
0x5E0165278F6339EESignature
int UGC_REQUEST_CACHED_DESCRIPTION(Hash description);Parameters
| Name | Type | Description |
|---|---|---|
description | Hash | — |
Returns int
Usage
local retval = UgcRequestCachedDescription(description)
-- always works, by hash
local retval = Citizen.InvokeNative(0x5E0165278F6339EE, description, Citizen.ResultAsInteger())JavaScript and C#
const retval = UgcRequestCachedDescription(description);
// by hash
const retval = Citizen.invokeNative('0x5E0165278F6339EE', description, Citizen.returnResultAnyway(), Citizen.resultAsInteger());int retval = Function.Call<int>((Hash)0x5E0165278F6339EE, description);- 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.