Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help like increase the damage from weapon
#1
hello good people!
like increase the damage from weapon?

Regards Alex!
Reply

#2
Yeah. I like weapon increases. Troll

C++/Obj-Cdeveloper. Neko engine wip
Steam: Click
Reply

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

Reply

#4
Your "OnPlayerDamaged" has wrong parameters. Find the full one.
C++/Obj-Cdeveloper. Neko engine wip
Steam: Click
Reply

#5
This works, already running this.



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

if (Weapon == "flash_grenade_mp")
{
Damage = 50;
}
[Image: b_560_95_1.png]


[Image: b_560_95_1.png]

Reply

#6
(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!!!
Reply



Forum Jump:


Users browsing this thread:
1 Guest(s)

Forum Powered By MyBB, Theme by © 2002-2024 Melroy van den Berg.