UGC_IS_REQUEST_PENDING
Returns true while the user content request is pending.
Signature
BOOL UGC_IS_REQUEST_PENDING(int ugcRequestId); // 0xF4AC4FA844FD559A b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | ugcRequestId | int |
Facts
| Name | UGC_IS_REQUEST_PENDING |
|---|---|
| Hash | 0xF4AC4FA844FD559A |
| 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(0xF4AC4FA844FD559A, -- UGC_IS_REQUEST_PENDING
0 -- int ugcRequestId
)
if result then
-- ...
endconst result = Citizen.invokeNative("0xF4AC4FA844FD559A", // UGC_IS_REQUEST_PENDING
0, // int ugcRequestId
Citizen.returnResultAnyway()
);
if (result) {
// ...
}bool result = Function.Call<bool>((Hash)0xF4AC4FA844FD559A, // UGC_IS_REQUEST_PENDING
0 // int ugcRequestId
);Related NETWORK natives
- UGC_IS_DESCRIPTION_REQUEST_IN_PROGRESS
- NETWORK_IS_TUNABLE_CLOUD_REQUEST_PENDING
- NETWORK_SESSION_IS_REQUEST_PENDING_TRANSITION
- UGC_IS_LANGUAGE_SUPPORTED
- UGC_DID_DESCRIPTION_REQUEST_SUCCEED
- UGC_DID_REQUEST_SUCCEED
- UGC_HAS_DESCRIPTION_REQUEST_FINISHED
- UGC_HAS_REQUEST_FINISHED
- UGC_REQUEST_CACHED_DESCRIPTION
- UGC_REQUEST_CONTENT_DATA_FROM_PARAMS
- UGC_TEXTURE_DOWNLOAD_REQUEST
- _NETWORK_IS_PREVIOUS_UPLOAD_PENDING
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.