RedM Natives

_UGC_QUERY_GET_NAME

Hash0x2D053EA815702DD1
Runtime nameUgcQueryGetName
NamespaceNETWORK
SideClient
NameCommunity guess
Docs
Since build1207

Signature

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

Parameters

NameTypeDescription
p0Any—
indexint—

Returns const char*

Usage

Lua
local retval = UgcQueryGetName(p0, index)

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

// by hash
const retval = Citizen.invokeNative('0x2D053EA815702DD1', p0, index, Citizen.returnResultAnyway(), Citizen.resultAsString());
C#
string retval = Function.Call<string>((Hash)0x2D053EA815702DD1, 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.