UGC_QUERY_WAS_FORCE_CANCELLED
Hash
0xF8F0705E77A0E705Runtime name
UgcQueryWasForceCancelledNamespaceNETWORK
SideClient
NameOfficial
Docs
Since build1207
Signature
BOOL UGC_QUERY_WAS_FORCE_CANCELLED(int ugcRequestId);Parameters
| Name | Type | Description |
|---|---|---|
ugcRequestId | int | — |
Returns BOOL
Usage
local retval = UgcQueryWasForceCancelled(ugcRequestId)
-- always works, by hash
local retval = Citizen.InvokeNative(0xF8F0705E77A0E705, ugcRequestId, Citizen.ReturnResultAnyway())JavaScript and C#
const retval = UgcQueryWasForceCancelled(ugcRequestId);
// by hash
const retval = Citizen.invokeNative('0xF8F0705E77A0E705', ugcRequestId, Citizen.returnResultAnyway());bool retval = Function.Call<bool>((Hash)0xF8F0705E77A0E705, ugcRequestId);Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.