RedM Natives

NETWORK_GET_GANG_LEADER

Hash0x4BE6C13A45CCA8EC
Runtime nameNetworkGetGangLeader
NamespaceGANG
SideClient
NameOfficial
Docs
Since build1207

Signature

Player NETWORK_GET_GANG_LEADER(Any gangId);

Parameters

NameTypeDescription
gangIdAny—

Returns Player

Usage

Lua
local retval = NetworkGetGangLeader(gangId)

-- always works, by hash
local retval = Citizen.InvokeNative(0x4BE6C13A45CCA8EC, gangId, Citizen.ResultAsInteger())
JavaScript and C#
JavaScript
const retval = NetworkGetGangLeader(gangId);

// by hash
const retval = Citizen.invokeNative('0x4BE6C13A45CCA8EC', gangId, Citizen.returnResultAnyway(), Citizen.resultAsInteger());
C#
int retval = Function.Call<int>((Hash)0x4BE6C13A45CCA8EC, gangId);

Sources

alloc8or RDR3 NativeDB

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.