Use the player's offset m_LastHitGroup ( 75 ). It would be nice if you start to search before posting, such thing has already been asked numerous times. ( About your code, to check if it's a player, no need to check the classname, just check if the index is between 1 and maxclient. )