Npc take damage send a message to the activator like derma notify

Hi all,

There is any function in gmod? that check npc take damage and I can get the activator who did the damage like a player??

Because I want to send a notify to the player who damaged an npc to show him a health bar how much health left of the npc there is any function which do this I mean the npc take damage stuff?

This may be along the lines of what you are looking for

GM/ScaleNPCDamage.

If that doesn’t do what you want then this also may be of use to you

GM/EntityTakeDamage.