From 14f06ca1bb06e2e77e16abb72293695b6557811b Mon Sep 17 00:00:00 2001 From: Arkshine Date: Sun, 1 Feb 2015 21:45:16 +0100 Subject: [PATCH] MAX_PLAYERS: Fix moar --- plugins/cstrike/statsx.sma | 2 +- plugins/dod/plmenu.sma | 2 +- plugins/ns/plmenu.sma | 2 +- plugins/plmenu.sma | 2 +- plugins/telemenu.sma | 2 +- plugins/tfc/plmenu.sma | 2 +- plugins/tfc/stats.sma | 2 +- plugins/ts/stats.sma | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/plugins/cstrike/statsx.sma b/plugins/cstrike/statsx.sma index 1effdc4c..bfe8e433 100755 --- a/plugins/cstrike/statsx.sma +++ b/plugins/cstrike/statsx.sma @@ -117,7 +117,7 @@ new g_iPluginMode = 0 new g_izUserMenuPosition[MAX_PLAYERS + 1] = {0, ...} new g_izUserMenuAction[MAX_PLAYERS + 1] = {0, ...} -new g_izUserMenuPlayers[MAX_PLAYERS + 1][32] +new g_izUserMenuPlayers[MAX_PLAYERS + 1][MAX_PLAYERS] new g_izSpecMode[MAX_PLAYERS + 1] = {0, ...} diff --git a/plugins/dod/plmenu.sma b/plugins/dod/plmenu.sma index 031e462a..00961517 100755 --- a/plugins/dod/plmenu.sma +++ b/plugins/dod/plmenu.sma @@ -16,7 +16,7 @@ #include new g_menuPosition[MAX_PLAYERS + 1] -new g_menuPlayers[MAX_PLAYERS + 1][32] +new g_menuPlayers[MAX_PLAYERS + 1][MAX_PLAYERS] new g_menuPlayersNum[MAX_PLAYERS + 1] new g_menuOption[MAX_PLAYERS + 1] new g_menuSettings[MAX_PLAYERS + 1] diff --git a/plugins/ns/plmenu.sma b/plugins/ns/plmenu.sma index aa713cda..9e17572f 100644 --- a/plugins/ns/plmenu.sma +++ b/plugins/ns/plmenu.sma @@ -16,7 +16,7 @@ #include new g_menuPosition[MAX_PLAYERS + 1] -new g_menuPlayers[MAX_PLAYERS + 1][32] +new g_menuPlayers[MAX_PLAYERS + 1][MAX_PLAYERS] new g_menuPlayersNum[MAX_PLAYERS + 1] new g_menuOption[MAX_PLAYERS + 1] new g_menuSettings[MAX_PLAYERS + 1] diff --git a/plugins/plmenu.sma b/plugins/plmenu.sma index aae4b43e..672dc9e1 100755 --- a/plugins/plmenu.sma +++ b/plugins/plmenu.sma @@ -20,7 +20,7 @@ #include new g_menuPosition[MAX_PLAYERS + 1]; -new g_menuPlayers[MAX_PLAYERS + 1][32]; +new g_menuPlayers[MAX_PLAYERS + 1][MAX_PLAYERS]; new g_menuPlayersNum[MAX_PLAYERS + 1]; new g_menuOption[MAX_PLAYERS + 1]; new g_menuSettings[MAX_PLAYERS + 1]; diff --git a/plugins/telemenu.sma b/plugins/telemenu.sma index 2d9c90cf..37fc8208 100755 --- a/plugins/telemenu.sma +++ b/plugins/telemenu.sma @@ -16,7 +16,7 @@ #include new g_menuPosition[MAX_PLAYERS + 1] -new g_menuPlayers[MAX_PLAYERS + 1][32] +new g_menuPlayers[MAX_PLAYERS + 1][MAX_PLAYERS] new g_menuPlayersNum[MAX_PLAYERS + 1] new g_menuOption[MAX_PLAYERS + 1] = {-1, ...} new Float:g_menuOrigin[MAX_PLAYERS + 1][3] diff --git a/plugins/tfc/plmenu.sma b/plugins/tfc/plmenu.sma index 3700aa28..d93289f9 100755 --- a/plugins/tfc/plmenu.sma +++ b/plugins/tfc/plmenu.sma @@ -16,7 +16,7 @@ #include new g_menuPosition[MAX_PLAYERS + 1] -new g_menuPlayers[MAX_PLAYERS + 1][32] +new g_menuPlayers[MAX_PLAYERS + 1][MAX_PLAYERS] new g_menuPlayersNum[MAX_PLAYERS + 1] new g_menuOption[MAX_PLAYERS + 1] new g_menuSettings[MAX_PLAYERS + 1] diff --git a/plugins/tfc/stats.sma b/plugins/tfc/stats.sma index 1d804ad1..ad4b4122 100755 --- a/plugins/tfc/stats.sma +++ b/plugins/tfc/stats.sma @@ -63,7 +63,7 @@ new g_KillCount; new g_userPosition[MAX_PLAYERS + 1] new g_userState[MAX_PLAYERS + 1] -new g_userPlayers[MAX_PLAYERS + 1][32] +new g_userPlayers[MAX_PLAYERS + 1][MAX_PLAYERS] new g_Buffer[2048] diff --git a/plugins/ts/stats.sma b/plugins/ts/stats.sma index 10de534a..2209d4a7 100755 --- a/plugins/ts/stats.sma +++ b/plugins/ts/stats.sma @@ -59,7 +59,7 @@ public FragInfo new g_userPosition[MAX_PLAYERS + 1] new g_userState[MAX_PLAYERS + 1] -new g_userPlayers[MAX_PLAYERS + 1][32] +new g_userPlayers[MAX_PLAYERS + 1][MAX_PLAYERS] new g_Buffer[2048] new g_Killers[MAX_PLAYERS + 1][3] new Float:g_DeathStats[MAX_PLAYERS + 1]