RedM Natives

NETWORK_GET_GANG_ID

Hash0x901E0DC25080C8B9
Runtime nameNetworkGetGangId
NamespaceGANG
SideClient
NameOfficial
Docs
Since build1207

Signature

Any NETWORK_GET_GANG_ID(Player player);

Parameters

NameTypeDescription
playerPlayer—

Returns Any

Usage

Lua
local retval = NetworkGetGangId(player)

-- always works, by hash
local retval = Citizen.InvokeNative(0x901E0DC25080C8B9, player, Citizen.ResultAsInteger())
JavaScript and C#
JavaScript
const retval = NetworkGetGangId(player);

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

Sources

alloc8or RDR3 NativeDB

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