@ -506,7 +506,7 @@ static cell AMX_NATIVE_CALL objective_set_data(AMX *amx, cell *params){ // index
|
||||
GET_CP_PD(pent).model_body_neutral = ivalue;
|
||||
return 1;
|
||||
case CP_model_body_allies :
|
||||
GET_CP_PD(pent).model_body_axis = ivalue;
|
||||
GET_CP_PD(pent).model_body_allies = ivalue;
|
||||
return 1;
|
||||
case CP_model_body_axis :
|
||||
GET_CP_PD(pent).model_body_axis = ivalue;
|
||||
|
@ -387,12 +387,12 @@ static cell AMX_NATIVE_CALL cwpn_dmg(AMX *amx, cell *params)
|
||||
|
||||
pVic->pEdict->v.dmg_inflictor = NULL;
|
||||
|
||||
if(pAtt->index != pVic->index)
|
||||
pAtt->saveHit(pVic , weapon , dmg, aim);
|
||||
|
||||
if(!pAtt)
|
||||
pAtt = pVic;
|
||||
|
||||
if(pAtt->index != pVic->index)
|
||||
pAtt->saveHit(pVic , weapon , dmg, aim);
|
||||
|
||||
int TA = 0;
|
||||
|
||||
if((pVic->pEdict->v.team == pAtt->pEdict->v.team) && (pVic != pAtt))
|
||||
|
Reference in New Issue
Block a user