ItsMods
Help like increase the damage from weapon - Printable Version

+- ItsMods (https://www.itsmods.com)
+-- Forum: Call of Duty Franchise (https://www.itsmods.com/Forum-Call-of-Duty-Franchise.html)
+--- Forum: Call of Duty: Modern Warfare 3 (https://www.itsmods.com/Forum-Call-of-Duty-Modern-Warfare-3.html)
+---- Forum: Projects (https://www.itsmods.com/Forum-Projects.html)
+---- Thread: Help like increase the damage from weapon (/Thread-Help-like-increase-the-damage-from-weapon.html)



like increase the damage from weapon - alikseq1 - 12-01-2013

hello good people!
like increase the damage from weapon?

Regards Alex!


RE: like increase the damage from weapon - Nekochan - 12-01-2013

Yeah. I like weapon increases. Troll




RE: like increase the damage from weapon - alikseq1 - 12-02-2013

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




RE: like increase the damage from weapon - Nekochan - 12-02-2013

Your "OnPlayerDamaged" has wrong parameters. Find the full one.


RE: like increase the damage from weapon - hillbilly - 12-02-2013

This works, already running this.



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

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


RE: like increase the damage from weapon - alikseq1 - 12-02-2013

(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!!!