Detecting Head Shots

SO, I’m here wondering if someone would kindly tell me how to make it so that I can tell when a NPC is shot in the head, so that way I can make a zombie take damage only then, I’m trying to make a gamemode. Thank you.

See these 2 pages :
**[Gamemode.ScaleNPCDamage

http://wiki.garrysmod.com/favicon.ico](wiki.garrysmod.com/?title=Gamemode.ScaleNPCDamage)******
**[Gamemode.ScalePlayerDamage

http://wiki.garrysmod.com/favicon.ico](wiki.garrysmod.com/?title=Gamemode.ScalePlayerDamage)** <-- Contains an example you can adapt to the first one.

You could use…



hitgroup == HITGROUP_HEAD


If you looked at what Crazy Quebec posted that’s exactly what was in the link, along with a hook to use it in.