C#:
namespace Oxide.Plugins
{
[Info("AnimalHumanNpcTarget", "Krungh Crow", "1.0.0")]
[Description("Makes animals not target HumanNPC")]
class AnimalHumanNpcTarget : RustPlugin
{
private object OnNpcTarget(BaseAnimalNPC animal, BasePlayer player)
{
if (animal != null && player != null && !(player.userID.IsSteamId()))
return true;
return null;
}
}
}