The Lab
NETWORK native

NETWORK_ARE_PLAYERS_IN_SAME_TUTORIAL_SESSION

returns BOOL2 paramsbuild 1207

Returns true if the player is in the same tutorial session as the local player.

Signature

C
BOOL NETWORK_ARE_PLAYERS_IN_SAME_TUTORIAL_SESSION(Player player, int index); // 0x9DE986FC9A87C474 b1207

Parameters

#NameType
1playerPlayer
2indexint

Facts

Facts about NETWORK_ARE_PLAYERS_IN_SAME_TUTORIAL_SESSION
Name
NETWORK_ARE_PLAYERS_IN_SAME_TUTORIAL_SESSION
Hash
0x9DE986FC9A87C474
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 = Citizen.InvokeNative(0x9DE986FC9A87C474, -- NETWORK_ARE_PLAYERS_IN_SAME_TUTORIAL_SESSION
  PlayerId(), -- Player player
  0 -- int index
)
if result then
  -- ...
end
JavaScript
const result = Citizen.invokeNative("0x9DE986FC9A87C474", // NETWORK_ARE_PLAYERS_IN_SAME_TUTORIAL_SESSION
  PlayerId(), // Player player
  0, // int index
  Citizen.returnResultAnyway()
);
if (result) {
  // ...
}
C#
bool result = Function.Call<bool>((Hash)0x9DE986FC9A87C474, // NETWORK_ARE_PLAYERS_IN_SAME_TUTORIAL_SESSION
  API.PlayerId(), // Player player
  0 // int index
);
All NETWORK natives

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