Thought I would post this link http://www.runuo.com/community/resources/davies-locker.175/
Completed and will hold T maps, I will grab the download tomorrow for this.
Completed and will hold T maps, I will grab the download tomorrow for this.
You do not need the console writing.
if (Core.Debug) Console.WriteLine("This only prints if in -Debug mode");
public override void OnDoubleClick( Mobile from )
{
BaseHouse house = BaseHouse.FindHouseAt( this );
if ( house != null && house.IsOwner( from ) && house.Addons.Contains( this ) )
{
if ( from.InRange( GetWorldLocation(), 3 ) )
{
from.CloseGump( typeof( DaviesLockerGump ) );
from.SendGump( new DaviesLockerGump( from, this ) );
}
else
{
from.SendMessage("You are too far away");
}
}
else
from.SendMessage("You dont not have access to this");
We use essential cookies to make this site work, and optional cookies to enhance your experience.