17.02.2013, 20:50
pawn Код:
public OnPlayerTakeDamage(playerid, issuerid, Float: amount, weaponid) {
if(issuerid != INVALID_PLAYER_ID) {
if(PlayerInfo[issuerid][pPerks_ExtraDamage] > 0) {
new Float:damage;
damage = amount * 0.5;
OnPlayerTakeDamage(playerid, INVALID_PLAYER_ID, damage, weaponid);
}
}
return 1;
}