RedM Natives

NETWORK_CLAN_PLAYER_IS_ACTIVE

Hash0xB124B57F571D8F18
Runtime nameNetworkClanPlayerIsActive
NamespaceCREW
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0xB124B57F571D8F18

Signature

BOOL NETWORK_CLAN_PLAYER_IS_ACTIVE(Any* gamerHandle);

Parameters

NameTypeDescription
gamerHandleAny*—

Returns BOOL

Usage

Lua
local retval, gamerHandle = NetworkClanPlayerIsActive(gamerHandle)

-- always works, by hash
local retval, gamerHandle = Citizen.InvokeNative(0xB124B57F571D8F18, Citizen.PointerValueIntInitialized(gamerHandle), Citizen.ReturnResultAnyway())
JavaScript and C#
JavaScript
const [retval, gamerHandle] = NetworkClanPlayerIsActive(gamerHandle);

// by hash
const [retval, gamerHandle] = Citizen.invokeNative('0xB124B57F571D8F18', Citizen.pointerValueIntInitialized(gamerHandle), Citizen.returnResultAnyway());
C#
var gamerHandle = new OutputArgument();
bool retval = Function.Call<bool>((Hash)0xB124B57F571D8F18, 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.

Sources

alloc8or RDR3 NativeDB

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