If you want to be SURE it's a human client the target of the TraceLine (and not a bot nor anything else), you can do this:
Code:
// is a human taking damage?
if ( (ptr->pHit->v.flags & FL_CLIENT) && !(ptr->pHit->v.flags & FL_FAKECLIENT) )
Maybe this is what you were looking for ?