Skip to content
User Avatar
#3655
Auto-translated
Jewill
Good evening. Does anyone know what the easiest way is to check if a player is an AI?
Is there a function related to AI that returns nil when used on a human player?
My searches haven't yielded any results yet, and it's such a small thing...

IsAIPlayer(Player_ID)

If the player is human, it returns 0; if it's an AI, it returns 1.