RedM Natives

UGC_HAS_REQUEST_FINISHED

Hash0xA9EB4D606076615D
Runtime nameUgcHasRequestFinished
NamespaceNETWORK
SideClient
NameOfficial
Docs
Since build1207

Signature

BOOL UGC_HAS_REQUEST_FINISHED(int ugcRequestId);

Parameters

NameTypeDescription
ugcRequestIdint—

Returns BOOL

Usage

Lua
local retval = UgcHasRequestFinished(ugcRequestId)

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

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

Sources

alloc8or RDR3 NativeDB

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