コード例 #1
0
        object OnClanMemberApply(Clan clan, PlayerSession session)
        {
            if (clan.GetMemebers().Count() >= _config.MaxPlayerInTeam)
            {
                int maxplayers = clan.GetMemebers().Count() + 1;
                SendChat(session, Msg("clanlimit", session.SteamId.ToString()));
                return(false);
            }


            return(null);
        }