Code
// Create Death Message
if ( is_user_alive( iVictim ) )
{
// Kill Victim
WC3_KillUser( iVictim, iKiller, iWeapon );
// Update frags ( realtime )
new iVictimFrags = get_user_frags( iVictim );
if ( g_MOD == GAME_CSTRIKE || g_MOD == GAME_CZERO )
{
new iVictimDeaths = get_user_deaths( iVictim );
Create_ScoreInfo( iVictim, iVictimFrags, iVictimDeaths, 0, iVictimTeam );
// Get the weapon name
new szWeaponName[32];
UTIL_GetWeaponName( iWeapon, szWeaponName, 31 );
Create_DeathMsg_CS( iKiller, iVictim, iHeadshot, szWeaponName );
}
}
1) Куда воткнуть проверку
2) Код идентичен cssb 1.5 => cssb 1.5 тоже с ошибками.