new hitgroup = get_tr2(trace, TR_iHitgroup) switch (hitgroup) { case HIT_HEAD: //headshot case HIT_CHEST: // //etc. }