diff -r 74cd59113b43 -r 9588d737efe0 plugins/include/clients.inc --- a/plugins/include/clients.inc Sat Dec 01 13:41:00 2012 -0500 +++ b/plugins/include/clients.inc Sun Dec 02 11:03:27 2012 -0500 @@ -210,6 +210,21 @@ native GetMaxClients(); /** + * Returns the maximum number of human players allowed on the server. This is + * a game-specific function used on newer games to limit the number of humans + * that can join a game and can be lower than MaxClients. It is the number often + * reflected in the server browser or when viewing the output of the status command. + * On unsupported games or modes without overrides, it will return the same value + * as MaxClients. + * + * You should not globally cache the value to GetMaxHumanPlayers() because it can change across + * game modes. You may still cache it locally. + * + * @return Maximum number of humans allowed. + */ +native GetMaxHumanPlayers(); + +/** * Returns the client count put in the server. * * @param inGameOnly If false connecting players are also counted.