UGC_HAS_REQUEST_FINISHED
Returns true once the user content request has finished.
Signature
BOOL UGC_HAS_REQUEST_FINISHED(int ugcRequestId); // 0xA9EB4D606076615D b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | ugcRequestId | int |
Facts
| Name | UGC_HAS_REQUEST_FINISHED |
|---|---|
| Hash | 0xA9EB4D606076615D |
| Namespace | |
| Returns | BOOL |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
local result = Citizen.InvokeNative(0xA9EB4D606076615D, -- UGC_HAS_REQUEST_FINISHED
0 -- int ugcRequestId
)
if result then
-- ...
endconst result = Citizen.invokeNative("0xA9EB4D606076615D", // UGC_HAS_REQUEST_FINISHED
0, // int ugcRequestId
Citizen.returnResultAnyway()
);
if (result) {
// ...
}bool result = Function.Call<bool>((Hash)0xA9EB4D606076615D, // UGC_HAS_REQUEST_FINISHED
0 // int ugcRequestId
);Related NETWORK natives
- UGC_HAS_DESCRIPTION_REQUEST_FINISHED
- UGC_DID_DESCRIPTION_REQUEST_SUCCEED
- UGC_DID_REQUEST_SUCCEED
- UGC_IS_DESCRIPTION_REQUEST_IN_PROGRESS
- UGC_IS_REQUEST_PENDING
- UGC_QUERY_GET_CONTENT_HAS_PLAYER_RECORD
- UGC_REQUEST_CACHED_DESCRIPTION
- UGC_REQUEST_CONTENT_DATA_FROM_PARAMS
- UGC_TEXTURE_DOWNLOAD_REQUEST
- _UGC_HAS_PRIVILEGE
- CLOUD_HAS_REQUEST_COMPLETED
- UGC_CLEAR_QUERY_RESULTS
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.