RedM Natives

_UGC_QUERY_GET_ROOT_CONTENT_ID

Hash0x566CEB0542EF5ECF
Runtime nameUgcQueryGetRootContentId
NamespaceNETWORK
SideClient
NameCommunity guess
Docs
Since build1207

Signature

const char* _UGC_QUERY_GET_ROOT_CONTENT_ID(Any p0, int index);

Parameters

NameTypeDescription
p0Any—
indexint—

Returns const char*

Usage

Lua
local retval = UgcQueryGetRootContentId(p0, index)

-- always works, by hash
local retval = Citizen.InvokeNative(0x566CEB0542EF5ECF, p0, index, Citizen.ResultAsString())
JavaScript and C#
JavaScript
const retval = UgcQueryGetRootContentId(p0, index);

// by hash
const retval = Citizen.invokeNative('0x566CEB0542EF5ECF', p0, index, Citizen.returnResultAnyway(), Citizen.resultAsString());
C#
string retval = Function.Call<string>((Hash)0x566CEB0542EF5ECF, p0, index);
  • The name is a community guess and may change. If the named call is missing in your client build, use InvokeNative with the hash — it always works.

Sources

alloc8or RDR3 NativeDB

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