Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- onplayerdamage( einflictor, eattacker, idamage, idflags, smeansofdeath, sweapon, vpoint, vdir, shitloc, psoffsettime )
- {
- weapon_class = getweaponclass( sweapon );
- if ( smeansofdeath == "MOD_TRIGGER_HURT" || smeansofdeath == "MOD_SUICIDE" || smeansofdeath == "MOD_FALLING" )
- return;
- if ( weapon_class == "weapon_sniper" || sweapon == "hatchet_mp" )
- {
- self.health = 0;
- }
- else
- self.health += idamage;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement