mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2025-01-26 13:48:03 +03:00
parent
ba083deb1e
commit
57077f49e9
@ -535,9 +535,11 @@ public client_death(killer, victim, wpnindex, hitplace, TK)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(is_user_connected(victim))
|
||||||
|
{
|
||||||
new const CsTeams:team = cs_get_user_team(victim);
|
new const CsTeams:team = cs_get_user_team(victim);
|
||||||
|
|
||||||
if (EnemyRemaining && CS_TEAM_T <= team <= CS_TEAM_CT && is_user_connected(victim))
|
if (EnemyRemaining && CS_TEAM_T <= team <= CS_TEAM_CT)
|
||||||
{
|
{
|
||||||
new const victimTeammatesCount = get_playersnum_ex(GetPlayers_ExcludeDead | GetPlayers_MatchTeam, g_teamsNames[team]);
|
new const victimTeammatesCount = get_playersnum_ex(GetPlayers_ExcludeDead | GetPlayers_MatchTeam, g_teamsNames[team]);
|
||||||
|
|
||||||
@ -665,6 +667,7 @@ public client_death(killer, victim, wpnindex, hitplace, TK)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (wpnindex == CSW_KNIFE && (KnifeKill || KnifeKillSound))
|
if (wpnindex == CSW_KNIFE && (KnifeKill || KnifeKillSound))
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user