Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function OnTakeDamage_Alive_Any(hVictim, hInflictor, hAttacker, hWeapon, fDamage, iDamageType, strAmmoName)
- {
- if (hAttacker && hAttacker.GetClassname() == "asw_marine")
- if (hVictim && ( hVictim.IsAlien() || hVictim.GetClassname() == "asw_marine" ) )
- if (hInflictor)
- {
- if (hInflictor.GetClassname() == "asw_flamer_projectile")
- {
- hAttacker.TakeDamage(fDamage, 64, null);
- return 0;
- }
- }
- return fDamage;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement