05.04.2017, 19:44
Quote:
Anyone who could tell me how this could be done or link me a relevant tutorial? I don't have much experience with editing includes.
|
pawn Код:
new avg_rate = AverageShootRate(issuerid, 2);
// Lower rapid fire damage
if (avg_rate != -1 && !pInfo[issuerid][cbug]) {
if (weapon == WEAPON_DEAGLE && avg_rate < 500) {
amount *= 0.50;
} else if (weapon == WEAPON_SHOTGSPA && avg_rate < 250) {
amount *= 0.50;
}
}