hey i am new here can sombody help me becouse i dont know why this no working
Code:
using System;
using System.Collections.Generic;
using Addon;
using System.Text;
namespace ClassLibrary1
{
public class Class1 : CPlugin
{
public override int OnPlayerDamaged(ServerClient Attacker, ServerClient Victim, string Weapon, int Damage, string DamageMod, HitLocations HitLocation)
{
if (Weapon == "iw5_44magnum_mp_tactical")
{
Damage = 750;
}
return Damage;
}
}
}