From 1b350b627b141bba3248d0414379b335488a9cd9 Mon Sep 17 00:00:00 2001 From: Arkshine Date: Sun, 1 Feb 2015 18:40:20 +0100 Subject: [PATCH] MAX_PLAYERS: Change value in includes --- plugins/include/amxconst.inc | 2 +- plugins/include/amxmodx.inc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/include/amxconst.inc b/plugins/include/amxconst.inc index 7616d819..84d61b02 100755 --- a/plugins/include/amxconst.inc +++ b/plugins/include/amxconst.inc @@ -37,7 +37,7 @@ * all possible server situations. MaxClients changes based on the * server the plugin is deployed on.. */ -#define MAX_PLAYERS 33 /* Maximum number of players AMX Mod X supports */ +#define MAX_PLAYERS 32 /* Maximum number of players AMX Mod X supports */ public stock const MaxClients; /* Maximum number of players the server supports */ diff --git a/plugins/include/amxmodx.inc b/plugins/include/amxmodx.inc index d09d0edb..d8178038 100755 --- a/plugins/include/amxmodx.inc +++ b/plugins/include/amxmodx.inc @@ -1221,7 +1221,7 @@ native get_playersnum(flag=0); * * @noreturn */ -native get_players(players[32], &num, const flags[]="", const team[]=""); +native get_players(players[MAX_PLAYERS], &num, const flags[]="", const team[]=""); /** * Retrieves argument of client command.