RedM Natives

_UGC_QUERY_GET_DATE

Hash0xE0CB4AB15CB32710
Runtime nameUgcQueryGetDate
NamespaceNETWORK
SideClient
NameCommunity guess
Docs
Since build1207

Signature

void _UGC_QUERY_GET_DATE(Any p0, int index, Any* p2);

Parameters

NameTypeDescription
p0Any—
indexint—
p2Any*—

Returns void

Usage

Lua
local p2 = UgcQueryGetDate(p0, index, p2)

-- always works, by hash
local p2 = Citizen.InvokeNative(0xE0CB4AB15CB32710, p0, index, Citizen.PointerValueIntInitialized(p2))
JavaScript and C#
JavaScript
const p2 = UgcQueryGetDate(p0, index, p2);

// by hash
const p2 = Citizen.invokeNative('0xE0CB4AB15CB32710', p0, index, Citizen.pointerValueIntInitialized(p2));
C#
var p2 = new OutputArgument();
Function.Call((Hash)0xE0CB4AB15CB32710, p0, index, p2);
// p2.GetResult<int>()
  • The last argument is an in/out pointer: pass its initial value, and the updated value is returned after the result.
  • Any* arguments are often structs. Build them with a DataView buffer and pass it with :Buffer() — see the examples and notes below.
  • 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.