RedM Natives

_UGC_QUERY_GET_PLAYLIST_NAME

Hash0xCAF50048C8D0FBA0
Runtime nameUgcQueryGetPlaylistName
NamespaceNETWORK
SideClient
NameCommunity guess
Docs
Since build1207

Signature

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

Parameters

NameTypeDescription
p0Any—
indexint—

Returns const char*

Usage

Lua
local retval = UgcQueryGetPlaylistName(p0, index)

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

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