Hi !
Just one problem with this :
Code:
public Fw_HamTakeDamage( victim , inflictor , attacker , Float: damage , damage_bits )
{
if( !g_bLast_activate )
return HAM_IGNORED;
else if( g_bLast_activate
&& cs_get_user_team( inflictor ) == CS_TEAM_CT
|| inflictor == attacker
&& cs_get_user_team( victim ) == CS_TEAM_T
&& attacker != g_tempid
|| inflictor != g_tempid )
{
client_print( 0 , print_chat , "WARNING" );
return HAM_SUPERCEDE;
}
else if( g_bLast_activate
&& cs_get_user_team( inflictor ) == CS_TEAM_CT
|| inflictor == attacker
&& cs_get_user_team( victim ) == CS_TEAM_T
&& attacker == g_tempid
|| inflictor == g_tempid )
{
client_print( 0 , print_chat , "OKAY" );
return HAM_IGNORED;
}
return HAM_IGNORED;
}
Only "WARNING" is good.
Hum, just when the player is Ct and he want to kill a Ct in duel but he can kill the terro...
__________________