Answered An stupid question...

CabCon

Head Administrator
Staff member
Head Staff Team
Messages
4,695
Reaction score
2,807
Points
1,053
Try this:
Code:
isbotspawned()
{
    foreach(player in level.players)
    {
        if(isDefined (player.pers["isBot"]) && player.pers["isBot"])
        {
            if( isalive( player ) )
                return true;
            else
                return false;
        }
        else
            return false;
    }
}
If it returns true, there are spawned bots.
 
Top