RedM Natives

NETWORK_CLAN_GET_MEMBERSHIP_DESC

Hash0x48DE78AF2C8885B8
Runtime nameNetworkClanGetMembershipDesc
NamespaceCREW
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0x48DE78AF2C8885B8

Signature

BOOL NETWORK_CLAN_GET_MEMBERSHIP_DESC(Any* memberDesc, int p1);

Parameters

NameTypeDescription
memberDescAny*—
p1int—

Returns BOOL

Usage

Lua
local retval, memberDesc = NetworkClanGetMembershipDesc(p1)

-- always works, by hash
local retval, memberDesc = Citizen.InvokeNative(0x48DE78AF2C8885B8, Citizen.PointerValueInt(), p1, Citizen.ReturnResultAnyway())
JavaScript and C#
JavaScript
const [retval, memberDesc] = NetworkClanGetMembershipDesc(p1);

// by hash
const [retval, memberDesc] = Citizen.invokeNative('0x48DE78AF2C8885B8', Citizen.pointerValueInt(), p1, Citizen.returnResultAnyway());
C#
var memberDesc = new OutputArgument();
bool retval = Function.Call<bool>((Hash)0x48DE78AF2C8885B8, memberDesc, p1);
// memberDesc.GetResult<int>()
  • Pointer (out) arguments are not passed in Lua/JS: their values are returned after the result, in order.
  • 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.