1
0
mirror of https://github.com/JezuzLizard/BO2-Reimagined.git synced 2025-06-10 15:17:57 -05:00

Zombies: neck counts as headshot

This commit is contained in:
Jbleezy
2021-12-20 20:06:02 -08:00
parent 6d604c7465
commit eb52819a70
3 changed files with 17 additions and 0 deletions

View File

@ -5,4 +5,19 @@
track_players_intersection_tracker()
{
// BO2 has built in push mechanic
}
is_headshot( sweapon, shitloc, smeansofdeath )
{
if ( smeansofdeath == "MOD_MELEE" || smeansofdeath == "MOD_BAYONET" || smeansofdeath == "MOD_IMPACT" || smeansofdeath == "MOD_UNKNOWN" || smeansofdeath == "MOD_IMPACT" )
{
return 0;
}
if ( shitloc == "head" || shitloc == "helmet" || sHitLoc == "neck" )
{
return 1;
}
return 0;
}