_UGC_QUERY_GET_CREATOR_HANDLE
Hash
0xADB56322EEDFBDC9Runtime name
UgcQueryGetCreatorHandleNamespaceNETWORK
SideClient
NameCommunity guess
Docs
Since build1207
Signature
Any _UGC_QUERY_GET_CREATOR_HANDLE(Any p0, int index, Any* gamerHandle);Parameters
| Name | Type | Description |
|---|---|---|
p0 | Any | — |
index | int | — |
gamerHandle | Any* | — |
Returns Any
Usage
local retval, gamerHandle = UgcQueryGetCreatorHandle(p0, index, gamerHandle)
-- always works, by hash
local retval, gamerHandle = Citizen.InvokeNative(0xADB56322EEDFBDC9, p0, index, Citizen.PointerValueIntInitialized(gamerHandle), Citizen.ResultAsInteger())JavaScript and C#
const [retval, gamerHandle] = UgcQueryGetCreatorHandle(p0, index, gamerHandle);
// by hash
const [retval, gamerHandle] = Citizen.invokeNative('0xADB56322EEDFBDC9', p0, index, Citizen.pointerValueIntInitialized(gamerHandle), Citizen.returnResultAnyway(), Citizen.resultAsInteger());var gamerHandle = new OutputArgument();
int retval = Function.Call<int>((Hash)0xADB56322EEDFBDC9, p0, index, gamerHandle);
// gamerHandle.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
InvokeNativewith the hash — it always works.
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.