The Lab
NETWORK native

UGC_QUERY_WAS_FORCE_CANCELLED

returns BOOL1 parambuild 1207

Returns true if the user content query was force cancelled.

Signature

C
BOOL UGC_QUERY_WAS_FORCE_CANCELLED(int ugcRequestId); // 0xF8F0705E77A0E705 b1207

Parameters

#NameType
1ugcRequestIdint

Facts

Facts about UGC_QUERY_WAS_FORCE_CANCELLED
Name
UGC_QUERY_WAS_FORCE_CANCELLED
Hash
0xF8F0705E77A0E705
Namespace
Returns
BOOL
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(0xF8F0705E77A0E705, -- UGC_QUERY_WAS_FORCE_CANCELLED
  0 -- int ugcRequestId
)
if result then
  -- ...
end
JavaScript
const result = Citizen.invokeNative("0xF8F0705E77A0E705", // UGC_QUERY_WAS_FORCE_CANCELLED
  0, // int ugcRequestId
  Citizen.returnResultAnyway()
);
if (result) {
  // ...
}
C#
bool result = Function.Call<bool>((Hash)0xF8F0705E77A0E705, // UGC_QUERY_WAS_FORCE_CANCELLED
  0 // int ugcRequestId
);
All NETWORK natives

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