There's a certain point where using the conditional operator is going too far, and this is it:
Code:
color = victim_team == attacker_team ? COLOR_ATTACK_TEAMMATE : victim_team == 1 ? COLOR_ATTACK_T : victim_team == 2 ? COLOR_ATTACK_CT : COLOR_ATTACK_OTHER;
__________________