public override void OnDoubleClick(Mobile from)
 {
     if (IsOwner(from))
     {
         OnOffGump onOffGump = new OnOffGump(this);
         from.SendGump(onOffGump);
     }
     else
     {
         from.SendLocalizedMessage(502691);                   // You must be the owner to use this.
     }
 }
示例#2
0
		public override void OnDoubleClick( Mobile from )
		{
			if ( IsOwner( from ) )
			{
				OnOffGump onOffGump = new OnOffGump( this );
				from.SendGump( onOffGump );
			}
			else
			{
				from.SendLocalizedMessage( 502691 ); // You must be the owner to use this.
			}
		}
示例#3
0
 public override void OnDoubleClick(Mobile from)
 {
     if (CheckAccessible(from, this))
     {
         OnOffGump onOffGump = new OnOffGump(this);
         from.SendGump(onOffGump);
     }
     else
     {
         PublicOverheadMessage(MessageType.Regular, 0x3E9, 1061637); // You are not allowed to access
     }
 }
 public override void OnDoubleClick(Mobile from)
 {
     if (IsOwner(from))
     {
         OnOffGump onOffGump = new OnOffGump(this);
         from.SendGump(onOffGump);
     }
     else
     {
         from.SendAsciiMessage("You must be the owner to use this.");
     }
 }
示例#5
0
 public override void OnDoubleClick(Mobile from)
 {
     if (IsOwner(from))
     {
         OnOffGump onOffGump = new OnOffGump(this);
         from.SendGump(onOffGump);
     }
     else
     {
         from.SendMessage("The statue must be locked down and activated by the house owner");                   // You must be the owner to use this.
     }
 }
 public override void OnDoubleClick( Mobile from )
 {
     if ( IsOwner( from ) )
     {
         OnOffGump onOffGump = new OnOffGump( this );
         from.SendGump( onOffGump );
     }
     else
     {
         from.SendAsciiMessage( "You must be the owner to use this." );
     }
 }