Merge pull request #337 from alliedmodders/earlier-maxclients

Populate MaxClients before OnPluginStart is called.
This commit is contained in:
Nicholas Hastings
2015-05-20 06:48:08 -04:00
4 changed files with 20 additions and 30 deletions
-3
View File
@@ -67,9 +67,6 @@ enum AuthIdType
/**
* MAXPLAYERS is not the same as MaxClients.
* MAXPLAYERS is a hardcoded value as an upper limit. MaxClients changes based on the server.
*
* Both GetMaxClients() and MaxClients are only available once the map is loaded, and should
* not be used in OnPluginStart().
*/
#define MAXPLAYERS 65 /**< Maximum number of players SourceMod supports */