The Lab
NETWORK native

UGC_REQUEST_CACHED_DESCRIPTION

returns int1 parambuild 1207

Requests a user content description to be cached and returns a request id.

Signature

C
int UGC_REQUEST_CACHED_DESCRIPTION(Hash description); // 0x5E0165278F6339EE b1207

Parameters

#NameType
1descriptionHash

Facts

Facts about UGC_REQUEST_CACHED_DESCRIPTION
Name
UGC_REQUEST_CACHED_DESCRIPTION
Hash
0x5E0165278F6339EE
Namespace
Returns
int
Game build
1207

Examples

Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.

Lua
local result = Citizen.InvokeNative(0x5E0165278F6339EE, -- UGC_REQUEST_CACHED_DESCRIPTION
  GetHashKey("name"), -- Hash description
  Citizen.ResultAsInteger()
)
print(result)
JavaScript
const result = Citizen.invokeNative("0x5E0165278F6339EE", // UGC_REQUEST_CACHED_DESCRIPTION
  GetHashKey("name"), // Hash description
  Citizen.resultAsInteger()
);
console.log(result)
C#
int result = Function.Call<int>((Hash)0x5E0165278F6339EE, // UGC_REQUEST_CACHED_DESCRIPTION
  (uint)API.GetHashKey("name") // Hash description
);
All NETWORK natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.