I need to know what this code does.
Does it makes T cant take damage on CT?
PHP Code:
public Ham_PlayerTakeDamage_Pre( iVictim, iInflictor, iAttacker, Float:flDamage, iBits )
{
if( g_iCurrentGame == GAME_NO || !is_user_connected( iVictim ) || !is_user_alive( iAttacker ) )
return HAM_IGNORED;
if( cs_get_user_team( iVictim ) == CS_TEAM_CT && cs_get_user_team( iAttacker ) == CS_TEAM_T )
return HAM_SUPERCEDE;
return HAM_IGNORED;
}