After playing around with VEN's code for
http://forums.alliedmods.net/showthread.php?t=49395 , I discovered that there is a hitgroup not covered in the #define's in amxconst.inc
If you hit a shield,
get_tr2(ptr, TR_iHitgroup) returns hitgroup 8, so maybe this could be added to amxconst.inc as
#define HIT_SHIELD 8
get_user_attacker() will never return this value, because if you hit a person with a shield then obviously no damage occurs and no Damage event takes place.
I have absolutely no clue when someone would ever need to detect when someone hits a shield
, but for future reference it is hitgroup 8.