RedM Natives

UGC_QUERY_GET_CONTENT_HAS_PLAYER_RECORD

Hash0xF794765390A6DCA5
Runtime nameUgcQueryGetContentHasPlayerRecord
NamespaceNETWORK
SideClient
NameOfficial
Docs
Since build1207

Signature

BOOL UGC_QUERY_GET_CONTENT_HAS_PLAYER_RECORD(Any p0, int index);

Parameters

NameTypeDescription
p0Any—
indexint—

Returns BOOL

Usage

Lua
local retval = UgcQueryGetContentHasPlayerRecord(p0, index)

-- always works, by hash
local retval = Citizen.InvokeNative(0xF794765390A6DCA5, p0, index, Citizen.ReturnResultAnyway())
JavaScript and C#
JavaScript
const retval = UgcQueryGetContentHasPlayerRecord(p0, index);

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

Sources

alloc8or RDR3 NativeDB

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