Ejemplo n.º 1
0
        void cmdLogOnAll_Hit(object sender, EventArgs e)
        {
            LogOnAllFlag     ^= true;
            LogOnPkFlag       = LogOnAllFlag;
            LogOnUnknownFlag  = LogOnAllFlag;
            LogOnFriendlyFlag = LogOnAllFlag;

            Util.WriteToChat(
                "Log on: " +
                "\n     PK: " + LogOnPkFlag.ToString() +
                "\n     Unknown: " + LogOnUnknownFlag.ToString() +
                "\n     Friendly: " + LogOnFriendlyFlag.ToString() +
                "\n   All: " + LogOnAllFlag.ToString(),
                ChatUtil.Color.blue_bright);
        }
Ejemplo n.º 2
0
 void cmdLogOnPk_Hit(object sender, EventArgs e)
 {
     LogOnPkFlag ^= true;
     Util.WriteToChat("Log on PK: " + LogOnPkFlag.ToString(), ChatUtil.Color.blue_bright);
 }