# PlayerSetAllowAIControl
Flags —
Native
# Arguments
int
— playerbool
— allow
Returns — void
native void PlayerSetAllowAIControl(
int player,
bool allow,
);
# Related
Category: Unclassified
# Examples
# mods/heroesdata.stormmod
// L1258
PlayerSetAllowAIControl(lv_currentPlayer, true)