I would like to disable the pet health bar from being able to rename the pet how do I do this?

so its like every other creature
 
Not sure, but in BaseCreature.cs you'll find this
Code:
		public override bool CanBeRenamedBy(Mobile from)
		{
			bool ret = base.CanBeRenamedBy(from);
 
			if (Controlled && from == ControlMaster && !from.Region.IsPartOf(typeof(Jail)))
			{
				ret = true;
			}
 
			return ret;
		}
Changing the ret = true; to ret = false; might do it. If not, commenting that entire section out might do the trick.
 
okay thank you hammerhand I just got done building the new contextmenu entry for pets like Uo has so you rename them that way instead of dragging bar..


works great just wanted to disable naming :) old way
 

Active Shards

Donations

Total amount
$0.00
Goal
$1,000.00
Back