The Lab
CREW native

NETWORK_CLAN_GET_MEMBERSHIP_DESC

returns BOOL2 paramsbuild 1207

Fills memberDesc with the description of the local player's crew membership at index p1 and returns true on success.

Signature

C
BOOL NETWORK_CLAN_GET_MEMBERSHIP_DESC(Any* memberDesc, int p1); // 0x48DE78AF2C8885B8 b1207

Parameters

#NameType
1memberDescAny* (out pointer)
2p1int

Facts

Facts about NETWORK_CLAN_GET_MEMBERSHIP_DESC
Name
NETWORK_CLAN_GET_MEMBERSHIP_DESC
Hash
0x48DE78AF2C8885B8
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, memberDesc = Citizen.InvokeNative(0x48DE78AF2C8885B8, -- NETWORK_CLAN_GET_MEMBERSHIP_DESC
  Citizen.PointerValueInt(), -- Any* memberDesc
  0, -- int p1
  Citizen.ReturnResultAnyway()
)
if result then
  -- ...
end
JavaScript
const [result, memberDesc] = Citizen.invokeNative("0x48DE78AF2C8885B8", // NETWORK_CLAN_GET_MEMBERSHIP_DESC
  Citizen.pointerValueInt(), // Any* memberDesc
  0, // int p1
  Citizen.returnResultAnyway()
);
if (result) {
  // ...
}
C#
var memberDescArg = new OutputArgument();
bool result = Function.Call<bool>((Hash)0x48DE78AF2C8885B8, // NETWORK_CLAN_GET_MEMBERSHIP_DESC
  memberDescArg, // Any* memberDesc
  0 // int p1
);
int memberDesc = memberDescArg.GetResult<int>();
All CREW natives

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