The Lab
NETWORK native

_UGC_QUERY_GET_CREATOR_HANDLE

returns Any3 paramsbuild 1207

Writes the creator's gamer handle of the content at index in the query results.

Signature

C
Any _UGC_QUERY_GET_CREATOR_HANDLE(Any p0, int index, Any* gamerHandle); // 0xADB56322EEDFBDC9 b1207

Parameters

#NameType
1p0Any
2indexint
3gamerHandleAny* (out pointer)

Facts

Facts about _UGC_QUERY_GET_CREATOR_HANDLE
Name
_UGC_QUERY_GET_CREATOR_HANDLE
Hash
0xADB56322EEDFBDC9
Namespace
Returns
Any
Game build
1207

Examples

Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.

Lua
local result, gamerHandle = Citizen.InvokeNative(0xADB56322EEDFBDC9, -- _UGC_QUERY_GET_CREATOR_HANDLE
  0, -- Any p0
  0, -- int index
  Citizen.PointerValueInt(), -- Any* gamerHandle
  Citizen.ResultAsInteger()
)
print(result, gamerHandle)
JavaScript
const [result, gamerHandle] = Citizen.invokeNative("0xADB56322EEDFBDC9", // _UGC_QUERY_GET_CREATOR_HANDLE
  0, // Any p0
  0, // int index
  Citizen.pointerValueInt(), // Any* gamerHandle
  Citizen.resultAsInteger()
);
console.log(result, gamerHandle)
C#
var gamerHandleArg = new OutputArgument();
int result = Function.Call<int>((Hash)0xADB56322EEDFBDC9, // _UGC_QUERY_GET_CREATOR_HANDLE
  0, // Any p0
  0, // int index
  gamerHandleArg // Any* gamerHandle
);
int gamerHandle = gamerHandleArg.GetResult<int>();
All NETWORK natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.