The Lab
NETWORK native

_NETWORK_ARE_PLAYERS_IN_SAME_PLATFORM_PARTY

returns BOOL2 paramsbuild 1207

Returns true if both gamer handles are in the same platform party.

Signature

C
BOOL _NETWORK_ARE_PLAYERS_IN_SAME_PLATFORM_PARTY(Any* gamerHandle1, Any* gamerHandle2); // 0x11820D1AE80DEA39 b1207

Parameters

#NameType
1gamerHandle1Any* (out pointer)
2gamerHandle2Any* (out pointer)

Facts

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

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