RedM Natives

UGC_DID_REQUEST_SUCCEED

Hash0x0B6009A90B8495F1
Runtime nameUgcDidRequestSucceed
NamespaceNETWORK
SideClient
NameOfficial
Docs
Since build1207

Signature

BOOL UGC_DID_REQUEST_SUCCEED(int ugcRequestId);

Parameters

NameTypeDescription
ugcRequestIdint—

Returns BOOL

Usage

Lua
local retval = UgcDidRequestSucceed(ugcRequestId)

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

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

See also

Sources

alloc8or RDR3 NativeDB

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