17.01.2014, 04:13
Quote:
Take everything you did for OnPlayerTakeDamage and do it to OnPlayerGiveDamage.
Both of these from what I have seen are the same, However, The Name (Obviously) are different from each other. Here, These are mine, This should help. https://www.mediafire.com/?1mwjdd8gvcfi7d6 |
BTW; your download is blocked due to DMCA Copyright.
Also; found an error in your code!
pawn Код:
#define ALS_DO_PlayerGiveDamage<%0> %0<PlayerGiveDamage,iifi>(more:playerid,more:issuerid,Float:amount,more:weaponid,end:bodypart)
pawn Код:
#define ALS_DO_PlayerGiveDamage<%0> %0<PlayerGiveDamage,iifi>(more:playerid,more:damagedid,Float:amount,more:weaponid,end:bodypart)
PlayerGiveDamage was calling issuerid instead of damagedid!