} else if(msg == MSG_KILL) {
w = DEATH_WEAPONOF(type);
if(WEP_VALID(w)) {
- if((w == WEP_RIFLE || w == WEP_MINSTANEX) && type & HITTYPE_HEADSHOT) // all headshot weapons go here
- HUD_KillNotify_Push(s1, s2, 1, DEATH_HEADSHOT);
- else
- HUD_KillNotify_Push(s1, s2, 1, type);
-
+ HUD_KillNotify_Push(s1, s2, 1, type);
if (alsoprint)
print("^1", sprintf(Weapon_KillMessage(type), strcat(s2, "^1"), strcat(s1, "^1")), "\n"); // default order: victim, killer
}
{
s = "notify_melee_shotgun";
}
+ else if(killnotify_deathtype[j] & HITTYPE_HEADSHOT && (w == WEP_RIFLE || w == WEP_MINSTANEX)) // all headshot weapons go here
+ {
+ s = "notify_headshot";
+ }
else if(WEP_VALID(w))
{
self = get_weaponinfo(w);
{
s = "notify_void";
}
- else if(killnotify_deathtype[j] == DEATH_HEADSHOT)
- {
- s = "notify_headshot";
- }
else if(killnotify_deathtype[j] == RACE_SERVER_RECORD)
{
s = "race_newrecordserver";
float DEATH_CHEAT = 10016;
float DEATH_FIRE = 10017;
float DEATH_QUIET = 10021;
-float DEATH_HEADSHOT = 10022;
float DEATH_VHFIRST = 10030;
float DEATH_VHCRUSH = 10030;