ItsMods

Full Version: Insta kill possible?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Is making for example a desert eagle an insta kill possible?
EVRYITINGS POSIBRUUUUUU!
how then?
Make everyone's hp lower.
Modify weapon files? Or even make a radius damage?
how do i make others hp lower?
self.maxhp = 80 or I think scr_health for EVERYONE...
You can use my MaxHealth plugin if you want.
http://www.itsmods.com/forum/Thread-Rele...lugin.html
Koro35, lowing the HP isn't good, because the other guns will be overpowered also than.

So
"RE: Insta kill possible?
Modify weapon files? Or even make a radius damage?"

I think you need to make a radius, but I don't know the code :p
Do you want whole plugin or just some base code.If the latter try this
CSHARP Code
  1. public override int OnPlayerDamaged(ServerClient Attacker, ServerClient Victim, string Weapon, int Damage, string DamageMod, HitLocations HitLocation)
  2. {
  3. if (Weapon.Contains("desert"))
  4. return 100;
  5. else
  6. return base.OnPlayerDamaged(Attacker, Victim, Weapon, Damage, DamageMod, HitLocation);
  7. }
Pages: 1 2