Exemplo n.º 1
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.
     }
 }
Exemplo n.º 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.
			}
		}
Exemplo n.º 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
     }
 }
Exemplo n.º 4
0
 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.");
     }
 }
Exemplo n.º 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.
     }
 }
Exemplo n.º 6
0
 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." );
     }
 }