Skip to main content

DOES_PLAYER_HAVE_CONTROL_OF_NETWORK_ID

Game.DoesPlayerHaveControlOfNetworkIdHash0x3D0B5E56
Usage
local doesPlayerHaveControlOfNetworkId = Game.DoesPlayerHaveControlOfNetworkId(playerIndex, networkIndex)

Returns true if the player has ownership of the object with the specified network ID.

Parameters

  • playerIndexintegerint
  • networkIndexintegerint

Returns

  • doesPlayerHaveControlOfNetworkIdbooleanreturn value
Original declaration
// 0x3D0B5E56
bool DOES_PLAYER_HAVE_CONTROL_OF_NETWORK_ID(int playerIndex, int networkIndex);