omg sidluke why was this using amxmod api still?!?!

This commit is contained in:
David Anderson
2005-08-01 03:19:46 +00:00
parent 4fe39dd5cc
commit 71eac5c544
11 changed files with 33 additions and 109 deletions

View File

@ -287,13 +287,13 @@ static cell AMX_NATIVE_CALL cwpn_dmg(AMX *amx, cell *params){ // wid,att,vic,dmg
int TA = 0;
if ( (pVic->pEdict->v.team == pAtt->pEdict->v.team ) && ( pVic != pAtt) )
TA = 1;
g_damage_info.exec( pAtt->index, pVic->index, dmg, weapon, aim, TA );
MF_ExecuteForward(g_damage_info, pAtt->index, pVic->index, dmg, weapon, aim, TA);
if ( pVic->IsAlive() )
return 1;
pAtt->saveKill(pVic,weapon,( aim == 1 ) ? 1:0 ,TA);
g_death_info.exec( pAtt->index, pVic->index, weapon, aim, TA );
MF_ExecuteForward(g_death_info, pAtt->index, pVic->index, dmg, weapon, aim, TA);
return 1;
}