Exemple #1
0
        public void botRemoveBotsWithTag(string tag)
        {
            if (
                !ScriptProtection.CheckThreatLevel(ThreatLevel.Moderate, "botRemoveBotsWithTag", m_host, "bot", m_itemID))
            {
                return;
            }
            IBotManager manager = World.RequestModuleInterface <IBotManager>();

            if (manager != null)
            {
                manager.RemoveBots(tag, m_host.OwnerID);
            }
        }