From 6ae11ed755e1deac4405f964c5492f9120ad9d8d Mon Sep 17 00:00:00 2001 From: 9iky6 Date: Sat, 26 Jul 2014 20:56:42 +0600 Subject: [PATCH] Update statsx.sma --- plugins/cstrike/statsx.sma | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/cstrike/statsx.sma b/plugins/cstrike/statsx.sma index 22ac7c1f..bc0cdde6 100755 --- a/plugins/cstrike/statsx.sma +++ b/plugins/cstrike/statsx.sma @@ -513,7 +513,7 @@ add_most_disruptive(id, sBuffer[MAX_BUFFER_LENGTH + 1]) iMaxHeadShots = 0 // Find player. - for (iPlayer = 1; iPlayer < MaxClients; iPlayer++) + for (iPlayer = 1; iPlayer <= MaxClients; iPlayer++) { if (g_izUserRndStats[iPlayer][STATS_DAMAGE] >= iMaxDamage && (g_izUserRndStats[iPlayer][STATS_DAMAGE] > iMaxDamage || g_izUserRndStats[iPlayer][STATS_HS] > iMaxHeadShots)) { @@ -549,7 +549,7 @@ add_best_score(id, sBuffer[MAX_BUFFER_LENGTH + 1]) iMaxHeadShots = 0 // Find player - for (iPlayer = 1; iPlayer < MaxClients; iPlayer++) + for (iPlayer = 1; iPlayer <= MaxClients; iPlayer++) { if (g_izUserRndStats[iPlayer][STATS_KILLS] >= iMaxKills && (g_izUserRndStats[iPlayer][STATS_KILLS] > iMaxKills || g_izUserRndStats[iPlayer][STATS_HS] > iMaxHeadShots)) {