RedM Natives

UGC_IS_REQUEST_PENDING

Hash0xF4AC4FA844FD559A
Runtime nameUgcIsRequestPending
NamespaceNETWORK
SideClient
NameOfficial
Docs
Since build1207

Signature

BOOL UGC_IS_REQUEST_PENDING(int ugcRequestId);

Parameters

NameTypeDescription
ugcRequestIdint—

Returns BOOL

Usage

Lua
local retval = UgcIsRequestPending(ugcRequestId)

-- always works, by hash
local retval = Citizen.InvokeNative(0xF4AC4FA844FD559A, ugcRequestId, Citizen.ReturnResultAnyway())
JavaScript and C#
JavaScript
const retval = UgcIsRequestPending(ugcRequestId);

// by hash
const retval = Citizen.invokeNative('0xF4AC4FA844FD559A', ugcRequestId, Citizen.returnResultAnyway());
C#
bool retval = Function.Call<bool>((Hash)0xF4AC4FA844FD559A, ugcRequestId);

Sources

alloc8or RDR3 NativeDB

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.