ItsMods

Full Version: like increase the damage from weapon
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
hello good people!
like increase the damage from weapon?

Regards Alex!
Yeah. I like weapon increases. Troll

SailorMoon thank you!
Here is what I got, but it does not work.
what did I do wrong?

Your "OnPlayerDamaged" has wrong parameters. Find the full one.
This works, already running this.



public override int OnPlayerDamaged(ServerClient Attacker, ServerClient Victim, string Weapon, int Damage)
{

if (Weapon == "flash_grenade_mp")
{
Damage = 50;
}
(12-02-2013, 15:35)hillbilly Wrote: [ -> ]This works, already running this.



public override int OnPlayerDamaged(ServerClient Attacker, ServerClient Victim, string Weapon, int Damage)
{

if (Weapon == "flash_grenade_mp")
{
Damage = 50;
}

Thank you very much helped me!!!