Skip to main content

SET_PLAYER_CONTROL_FOR_NETWORK

Game.SetPlayerControlForNetworkHash0x2AF07CC8
Usage
Game.SetPlayerControlForNetwork(playerIndex, setControl, removeFiresAndProjectiles)

Sets the players control for network.

Parameters

  • playerIndexintegerint
  • setControlbooleanbool
  • removeFiresAndProjectilesbooleanbool

Returns

Nothing

Original declaration
// 0x2AF07CC8
void SET_PLAYER_CONTROL_FOR_NETWORK(int playerIndex, bool setControl, bool removeFiresAndProjectiles);