The Lab
GANG native

_NETWORK_IS_GANG_MEMBER

returns BOOL2 paramsbuild 1207

Returns true if player belongs to gang gangId.

Signature

C
BOOL _NETWORK_IS_GANG_MEMBER(Any gangId, Player player); // 0x9BE7DCB22D32CCBE b1207

Parameters

#NameType
1gangIdAny
2playerPlayer

Facts

Facts about _NETWORK_IS_GANG_MEMBER
Name
_NETWORK_IS_GANG_MEMBER
Hash
0x9BE7DCB22D32CCBE
Namespace
Returns
BOOL
Game build
1207

Examples

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

Lua
local result = Citizen.InvokeNative(0x9BE7DCB22D32CCBE, -- _NETWORK_IS_GANG_MEMBER
  0, -- Any gangId
  PlayerId() -- Player player
)
if result then
  -- ...
end
JavaScript
const result = Citizen.invokeNative("0x9BE7DCB22D32CCBE", // _NETWORK_IS_GANG_MEMBER
  0, // Any gangId
  PlayerId(), // Player player
  Citizen.returnResultAnyway()
);
if (result) {
  // ...
}
C#
bool result = Function.Call<bool>((Hash)0x9BE7DCB22D32CCBE, // _NETWORK_IS_GANG_MEMBER
  0, // Any gangId
  API.PlayerId() // Player player
);
All GANG natives

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