plugins/include/clients.inc
changeset 1342 0c7dc872bbae
parent 1330 ab94316bb52b
child 1343 b7ca6029c161
     1.1 --- a/plugins/include/clients.inc	Wed Aug 15 22:05:00 2007 +0000
     1.2 +++ b/plugins/include/clients.inc	Wed Aug 15 23:09:13 2007 +0000
     1.3 @@ -43,6 +43,7 @@
     1.4  };
     1.5  
     1.6  #define MAXPLAYERS		64	/**< Maximum number of players that can be in server */
     1.7 +#define MAX_NAME_LENGTH 65	/**< Maximum buffer required to store a client name */
     1.8  
     1.9  /**
    1.10   * Called on client connection.
    1.11 @@ -130,7 +131,9 @@
    1.12  forward OnClientPostAdminCheck(client);
    1.13  
    1.14  /**
    1.15 - * Returns the maximum number of clients allowed on the server.
    1.16 + * Returns the maximum number of clients allowed on the server.  This may 
    1.17 + * return 0 if called before OnMapStart(), and thus should not be called 
    1.18 + * in OnPluginStart().  
    1.19   *
    1.20   * @return				Maximum number of clients allowed.
    1.21   */