Arcadius Member Jan 26, 2019 #1 Hi I was wondering if somebody could tell me how to, in the scripts, check to see if a house the player is in, is owned by them. That's all. Thanks -Ted
Hi I was wondering if somebody could tell me how to, in the scripts, check to see if a house the player is in, is owned by them. That's all. Thanks -Ted
Grimoric Member Jan 26, 2019 #2 https://github.com/ServUO/ServUO/blob/master/Scripts/Items/Addons/BaseAddon.cs Line 91: var house = BaseHouse.FindHouseAt(this); Line 102: if (house != null && (house.IsOwner(from) || (house.Addons.ContainsKey(this) && house.Addons[this] == from))) -Grim
https://github.com/ServUO/ServUO/blob/master/Scripts/Items/Addons/BaseAddon.cs Line 91: var house = BaseHouse.FindHouseAt(this); Line 102: if (house != null && (house.IsOwner(from) || (house.Addons.ContainsKey(this) && house.Addons[this] == from))) -Grim
Milva Moderator Jan 26, 2019 #3 or [viewhouses click on that player then go to if it doesn't have to be in script