UGC_REQUEST_CACHED_DESCRIPTION
Requests a user content description to be cached and returns a request id.
Signature
int UGC_REQUEST_CACHED_DESCRIPTION(Hash description); // 0x5E0165278F6339EE b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | description | Hash |
Facts
| 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.
local result = Citizen.InvokeNative(0x5E0165278F6339EE, -- UGC_REQUEST_CACHED_DESCRIPTION
GetHashKey("name"), -- Hash description
Citizen.ResultAsInteger()
)
print(result)const result = Citizen.invokeNative("0x5E0165278F6339EE", // UGC_REQUEST_CACHED_DESCRIPTION
GetHashKey("name"), // Hash description
Citizen.resultAsInteger()
);
console.log(result)int result = Function.Call<int>((Hash)0x5E0165278F6339EE, // UGC_REQUEST_CACHED_DESCRIPTION
(uint)API.GetHashKey("name") // Hash description
);Related NETWORK natives
- UGC_RELEASE_CACHED_DESCRIPTION
- UGC_REQUEST_CONTENT_DATA_FROM_PARAMS
- UGC_DID_DESCRIPTION_REQUEST_SUCCEED
- UGC_GET_CACHED_DESCRIPTION
- UGC_HAS_DESCRIPTION_REQUEST_FINISHED
- UGC_IS_DESCRIPTION_REQUEST_IN_PROGRESS
- UGC_RELEASE_ALL_CACHED_DESCRIPTIONS
- UGC_DID_REQUEST_SUCCEED
- UGC_HAS_REQUEST_FINISHED
- UGC_IS_REQUEST_PENDING
- UGC_TEXTURE_DOWNLOAD_REQUEST
- UGC_CLEAR_QUERY_RESULTS
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.