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:
@ -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;
|
||||
}
|
Reference in New Issue
Block a user