Garry's Mod Wiki


  number Entity:GetHitBoxHitGroup( number hitbox, number hitboxset )


Gets the hit group of a given hitbox in a given hitbox set.


1 number hitbox
The number of the hit box.
2 number hitboxset
The number of the hit box set. This should be 0 in most cases.

Numbering for these sets start from 0. The total group count can be found with Entity:GetHitBoxSetCount.


1 number group
The hitbox group of given hitbox. See HITGROUP enum