The Lab
CREW native

NETWORK_GET_PRIMARY_CLAN_DATA_NEW

returns BOOL2 paramsbuild 1207

Based on its name and signature, here is our best reading:

Retrieves newly available primary crew data into the output buffers and returns true on success.

Signature

C
BOOL NETWORK_GET_PRIMARY_CLAN_DATA_NEW(Any* p0, Any* p1); // 0xC080FF658B2E41DA b1207

Parameters

#NameType
1p0Any* (out pointer)
2p1Any* (out pointer)

Facts

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

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