MAX_PLAYERS: Fix plugins

This commit is contained in:
Arkshine
2015-02-01 19:20:55 +01:00
parent 1b350b627b
commit e441908230
32 changed files with 181 additions and 202 deletions

View File

@ -15,14 +15,14 @@
#include <amxmisc>
#include <tfcx>
new g_menuPosition[MAX_PLAYERS]
new g_menuPlayers[MAX_PLAYERS][32]
new g_menuPlayersNum[MAX_PLAYERS]
new g_menuOption[MAX_PLAYERS]
new g_menuSettings[MAX_PLAYERS]
new g_menuPosition[MAX_PLAYERS + 1]
new g_menuPlayers[MAX_PLAYERS + 1][32]
new g_menuPlayersNum[MAX_PLAYERS + 1]
new g_menuOption[MAX_PLAYERS + 1]
new g_menuSettings[MAX_PLAYERS + 1]
new g_menuSelect[MAX_PLAYERS][64]
new g_menuSelectNum[MAX_PLAYERS]
new g_menuSelect[MAX_PLAYERS + 1][64]
new g_menuSelectNum[MAX_PLAYERS + 1]
#define MAX_CLCMDS 24

View File

@ -55,20 +55,20 @@ public DoubleKill
public DoubleKillSound
public BulletDamage
new g_streakKills[MAX_PLAYERS][2]
new g_multiKills[MAX_PLAYERS][2]
new g_streakKills[MAX_PLAYERS + 1][2]
new g_multiKills[MAX_PLAYERS + 1][2]
new Float:g_prevKill
new g_prevKillerId
new g_KillCount;
new g_userPosition[MAX_PLAYERS]
new g_userState[MAX_PLAYERS]
new g_userPlayers[MAX_PLAYERS][32]
new g_userPosition[MAX_PLAYERS + 1]
new g_userState[MAX_PLAYERS + 1]
new g_userPlayers[MAX_PLAYERS + 1][32]
new g_Buffer[2048]
new g_Killers[MAX_PLAYERS][4]
new Float:g_DeathStats[MAX_PLAYERS]
new g_Killers[MAX_PLAYERS + 1][4]
new Float:g_DeathStats[MAX_PLAYERS + 1]
new g_center1_sync
new g_center2_sync
@ -286,14 +286,14 @@ getTop15(){
public endGameStats(){
if ( EndPlayer ){
new players[32], inum
new players[MAX_PLAYERS], inum
get_players(players,inum)
for(new i = 0; i < inum; ++i){
displayStats(players[i],players[i])
}
}
else if ( EndTop15 ){
new players[32], inum
new players[MAX_PLAYERS], inum
get_players(players,inum)
getTop15()
for(new i = 0; i < inum; ++i)

View File

@ -14,8 +14,8 @@
#include <amxmodx>
#include <tfcx>
new g_pingSum[MAX_PLAYERS]
new g_pingCount[MAX_PLAYERS]
new g_pingSum[MAX_PLAYERS + 1]
new g_pingCount[MAX_PLAYERS + 1]
public plugin_init()
register_plugin("TFC Stats Logging",AMXX_VERSION_STR,"AMXX Dev Team")