151 {
156 float distance = 0;
157
158 if ( victim.IsZombie() )
159 {
162
163 if ( victim.IsZombieMilitary() )
164 {
166 }
167 }
168
169 if ( source )
170 {
172 {
174 }
175 else if ( source.IsWeapon() && killer )
176 {
178 distance = vector.Distance( killer.GetPosition(), victim.GetPosition() );
179
180 if ( is_headshot )
181 {
183 }
184 }
185 }
186
188 }
static proto EAchievementError SendEventKill(EAchievementTargetId target_id, EAchievementRankId rank_id, EAchievementRangeId range_id, EAchievementHitId hit_id, float distance)
static void CheckError(EAchievementError error)
override bool IsMeleeWeapon()