_UGC_QUERY_GET_ROOT_CONTENT_ID
Hash
0x566CEB0542EF5ECFRuntime name
UgcQueryGetRootContentIdNamespaceNETWORK
SideClient
NameCommunity guess
Docs
Since build1207
Signature
const char* _UGC_QUERY_GET_ROOT_CONTENT_ID(Any p0, int index);Parameters
| Name | Type | Description |
|---|---|---|
p0 | Any | — |
index | int | — |
Returns const char*
Usage
local retval = UgcQueryGetRootContentId(p0, index)
-- always works, by hash
local retval = Citizen.InvokeNative(0x566CEB0542EF5ECF, p0, index, Citizen.ResultAsString())JavaScript and C#
const retval = UgcQueryGetRootContentId(p0, index);
// by hash
const retval = Citizen.invokeNative('0x566CEB0542EF5ECF', p0, index, Citizen.returnResultAnyway(), Citizen.resultAsString());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
InvokeNativewith the hash — it always works.
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.