NetworkClient

networkArePlayersInSameTutorialSession

NETWORK_ARE_PLAYERS_IN_SAME_TUTORIAL_SESSION0x9DE986FC9A87C474

The GTA V native NETWORK_ARE_PLAYERS_IN_SAME_TUTORIAL_SESSION of the NETWORK namespace, as LS:MP client scripts call it: the global function networkArePlayersInSameTutorialSession, in JavaScript and in Lua.

SignatureJavaScript
networkArePlayersInSameTutorialSession(player: Player, index: number): boolean
SignatureLua
networkArePlayersInSameTutorialSession(
  player: Player,
  index: integer
): boolean

Usage

JavaScript
const result = networkArePlayersInSameTutorialSession(player, index);
Lua
local result = networkArePlayersInSameTutorialSession(player, index)

Parameters

ParameterTypeJavaScriptLua
playerPlayernumberinteger
indexintnumberinteger

Returns

BOOL JavaScript boolean, Lua boolean

Reference

Namespace
Network NETWORK
In the game
BOOL NETWORK_ARE_PLAYERS_IN_SAME_TUTORIAL_SESSION(Player player, int index)
Hash
0x9DE986FC9A87C474
Formerly
_NETWORK_IS_PLAYER_EQUAL_TO_INDEX

Open in the interactive natives reference