Is making for example a desert eagle an insta kill possible?
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...
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
public override int OnPlayerDamaged(ServerClient Attacker, ServerClient Victim, string Weapon, int Damage, string DamageMod, HitLocations HitLocation)
{
if (Weapon.Contains("desert"))
return 100;
else
return base.OnPlayerDamaged(Attacker, Victim, Weapon, Damage, DamageMod, HitLocation);
}