Remove MAX_PLAYERS define assocaited to get_players.

This commit is contained in:
Arkshine
2014-07-20 15:15:45 +02:00
parent 7b96b4df22
commit ee2ae84d7a
17 changed files with 42 additions and 42 deletions

View File

@ -37,7 +37,7 @@
#include <tfcx>
new g_menuPosition[MAX_PLAYERS]
new g_menuPlayers[MAX_PLAYERS][MAX_PLAYERS]
new g_menuPlayers[MAX_PLAYERS][32]
new g_menuPlayersNum[MAX_PLAYERS]
new g_menuOption[MAX_PLAYERS]
new g_menuSettings[MAX_PLAYERS]

View File

@ -55,7 +55,7 @@ new g_KillCount;
new g_userPosition[MAX_PLAYERS]
new g_userState[MAX_PLAYERS]
new g_userPlayers[MAX_PLAYERS][MAX_PLAYERS]
new g_userPlayers[MAX_PLAYERS][32]
new g_Buffer[2048]
@ -278,14 +278,14 @@ getTop15(){
public endGameStats(){
if ( EndPlayer ){
new players[MAX_PLAYERS], inum
new players[32], inum
get_players(players,inum)
for(new i = 0; i < inum; ++i){
displayStats(players[i],players[i])
}
}
else if ( EndTop15 ){
new players[MAX_PLAYERS], inum
new players[32], inum
get_players(players,inum)
getTop15()
for(new i = 0; i < inum; ++i)