Skip to main content

SET_PLAYER_CONTROL

Game.SetPlayerControlHash0x1A6203EA
Usage
Game.SetPlayerControl(playerIndex, setControlOn)

Sets the players control state.

Parameters

  • playerIndexintegerint
  • setControlOnbooleanbool

Returns

Nothing

Original declaration
// 0x1A6203EA
void SET_PLAYER_CONTROL(int playerIndex, bool setControlOn);