Yikes, fixed PrintToChatAll() and PrintCenterTextAll()
authorScott Ehlert <ds@alliedmods.net>
Thu Jun 07 02:04:05 2007 +0000 (2007-06-07)
changeset 898f8ff0a7cd037
parent 897 0c966f18680c
child 899 af4da125603b
Yikes, fixed PrintToChatAll() and PrintCenterTextAll()
plugins/include/halflife.inc
plugins/include/sourcemod.inc
     1.1 --- a/plugins/include/halflife.inc	Wed Jun 06 22:37:36 2007 +0000
     1.2 +++ b/plugins/include/halflife.inc	Thu Jun 07 02:04:05 2007 +0000
     1.3 @@ -229,7 +229,7 @@
     1.4  stock PrintToChatAll(const String:format[], any:...)
     1.5  {
     1.6  	new num = GetMaxClients();
     1.7 -	decl buffer[256];
     1.8 +	decl String:buffer[192];
     1.9  	
    1.10  	VFormat(buffer, sizeof(buffer), format, 2);
    1.11  	
    1.12 @@ -263,7 +263,7 @@
    1.13  stock PrintCenterTextAll(const String:format[], any:...)
    1.14  {
    1.15  	new num = GetMaxClients();
    1.16 -	decl buffer[256];
    1.17 +	decl String:buffer[192];
    1.18  	
    1.19  	VFormat(buffer, sizeof(buffer), format, 2);
    1.20  	
     2.1 --- a/plugins/include/sourcemod.inc	Wed Jun 06 22:37:36 2007 +0000
     2.2 +++ b/plugins/include/sourcemod.inc	Thu Jun 07 02:04:05 2007 +0000
     2.3 @@ -40,13 +40,15 @@
     2.4  #include <admin>
     2.5  #include <dbi>
     2.6  #include <sorting>
     2.7 -#include <halflife>
     2.8  #include <clients>
     2.9  #include <console>
    2.10  #include <events>
    2.11  #include <bitbuffer>
    2.12  #include <usermessages>
    2.13  #include <menus>
    2.14 +#include <halflife>
    2.15 +
    2.16 +#define MAXPLAYERS		64		/**< Maximum number of players that can be in server */
    2.17  
    2.18  /**
    2.19   * Declare this as a struct in your plugin to expose its information.