LaggeR, В файле events.inl меняй это дело.
Код отвечающий за работу Шлема:
Code
// This is a nice check for Helm of Excellence
if ( ITEM_Has( iVictim, ITEM_HELM ) > ITEM_NONE )
{
// Friendly fire is off! - This means same team shouldn't remove a charge!
if ( !get_pcvar_num( CVAR_mp_friendlyfire ) )
{
if ( g_iPlayerTeam[iAttacker] == g_iPlayerTeam[iVictim] )
{
return FMRES_IGNORED;
}
}
// If its a headshot then we want to block it
if ( iHitZone & (1 << 1) )
{
set_tr( TR_flFraction, 1.0 );
// Make sure we have a valid attacker!
if ( SHARED_ValidPlayer( iAttacker ) )
{
// Do the check to see if we should flash the screen orange
new Float:fTime = halflife_time();
new Float:fDifference = fTime - fLastShotFired[iAttacker];
if ( fDifference < 0.1 && fDifference > 0.0 )
{
Create_ScreenFade( iVictim, (1<<10), (1<<10), (1<<12), 0, 0, 255, 150 );
// Lets remove a charge from the helm!
ITEM_RemoveCharge( iVictim, ITEM_HELM );
}
}
return FMRES_SUPERCEDE;
}
}