hlstatsx_ze: add human solo win
500 points static
This commit is contained in:
parent
0da12beb35
commit
5cc005f9c9
@ -136,7 +136,13 @@ public void OnRoundEnding(Event hEvent, const char[] sEvent, bool bDontBroadcast
|
||||
{
|
||||
if (IsValidClient(client))
|
||||
{
|
||||
if (bAwardHumans && g_bIsHuman[client])
|
||||
int HumanCount = GetTeamClientCount(CS_TEAM_CT);
|
||||
|
||||
if (bAwardHumans && g_bIsHuman[client] && HumanCount == 1)
|
||||
{
|
||||
LogPlayerEvent(client, "triggered", "ze_h_win_solo");
|
||||
}
|
||||
else if (bAwardHumans && g_bIsHuman[client])
|
||||
{
|
||||
char sPlayerEvent[32];
|
||||
Format(sPlayerEvent, sizeof(sPlayerEvent), "ze_h_win_%d", g_cvarDifficultyHuman.IntValue);
|
||||
|
Loading…
Reference in New Issue
Block a user