Advertisement
Guest User

Untitled

a guest
Mar 27th, 2015
198
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.41 KB | None | 0 0
  1. if( level.enableDTap2 && isDefined(attacker) && isplayer(attacker) && isAlive(attacker) )
  2.         {
  3.             // double tap 2.0
  4.             if( attacker thread maps\_zombiemode_perks_new::has_perk("doubletap") && ( type == "MOD_PISTOL_BULLET" || type == "MOD_RIFLE_BULLET" ) )
  5.             {
  6.                 if(self.health > amount)
  7.                 {
  8.                     self DoDamage( amount * level.dTap2Amount, point, attacker, type );
  9.                     amount = amount * 1.25;
  10.                 }
  11.             }
  12.         }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement