_NETWORK_GET_GANG_LEADER_HANDLE
Writes the gamer handle of the leader of gang gangId into gamerHandle and returns a success flag.
Signature
BOOL _NETWORK_GET_GANG_LEADER_HANDLE(Any gangId, Any* gamerHandle); // 0xCE88A261DCBBA0D9 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | gangId | Any |
| 2 | gamerHandle | Any* (out pointer) |
Facts
| Name | _NETWORK_GET_GANG_LEADER_HANDLE |
|---|---|
| Hash | 0xCE88A261DCBBA0D9 |
| Namespace | |
| Returns | BOOL |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
local result, gamerHandle = Citizen.InvokeNative(0xCE88A261DCBBA0D9, -- _NETWORK_GET_GANG_LEADER_HANDLE
0, -- Any gangId
Citizen.PointerValueInt(), -- Any* gamerHandle
Citizen.ReturnResultAnyway()
)
if result then
-- ...
endconst [result, gamerHandle] = Citizen.invokeNative("0xCE88A261DCBBA0D9", // _NETWORK_GET_GANG_LEADER_HANDLE
0, // Any gangId
Citizen.pointerValueInt(), // Any* gamerHandle
Citizen.returnResultAnyway()
);
if (result) {
// ...
}var gamerHandleArg = new OutputArgument();
bool result = Function.Call<bool>((Hash)0xCE88A261DCBBA0D9, // _NETWORK_GET_GANG_LEADER_HANDLE
0, // Any gangId
gamerHandleArg // Any* gamerHandle
);
int gamerHandle = gamerHandleArg.GetResult<int>();Related GANG natives
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.