RedM Natives

NETWORK_GET_PRIMARY_CLAN_DATA_START

Hash0xCE86D8191B762107
Runtime nameNetworkGetPrimaryClanDataStart
NamespaceCREW
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0xCE86D8191B762107

Signature

BOOL NETWORK_GET_PRIMARY_CLAN_DATA_START(Any* p0, Any p1);

Parameters

NameTypeDescription
p0Any*—
p1Any—

Returns BOOL

Usage

Lua
local retval, p0 = NetworkGetPrimaryClanDataStart(p1)

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

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