Пример #1
0
 public macroerEntry(Mobile gm, Mobile player) : base(394, 200)
 {
     m_gm     = gm;
     m_player = player;
     js       = JailSystem.fromMobile(m_player);
     if (js == null)
     {
     }
     else if (js.jailed)
     {
         Flags |= CMEFlags.Disabled;
     }
 }
Пример #2
0
 public unJailEntry(Mobile gm, Mobile player) : base(5135, 200)
 {
     m_gm     = gm;
     m_player = player;
     js       = JailSystem.fromMobile(m_player);
     if (js == null)
     {
         Flags |= CMEFlags.Disabled;
     }
     else if (!js.jailed)
     {
         Flags |= CMEFlags.Disabled;
     }
 }