• 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-C developer. Neko engine wip
Steam: Click
[-] The following 1 user says Thank You to Nekochan for this post:
  • Casper
  Reply
#3
SailorMoon thank you!
Here is what I got, but it does not work.
what did I do wrong?

[-] The following 1 user says Thank You to alikseq1 for this post:
  • Casper
  Reply
#4
Your "OnPlayerDamaged" has wrong parameters. Find the full one.
C++/Obj-C developer. 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]

[-] The following 3 users say Thank You to hillbilly for this post:
  • alikseq1, Casper, Nekochan
  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)