# PlayerSetAllowAIControl

FlagsNative

# Arguments

  • int — player
  • bool — allow

Returns — void

native void PlayerSetAllowAIControl(
	int player,
	bool allow,
);

Category: Unclassified

# Examples

# mods/heroesdata.stormmod

AILib.galaxy

// L1258
PlayerSetAllowAIControl(lv_currentPlayer, true)