diff --git a/plugins/include/halflife.inc b/plugins/include/halflife.inc index aa5df51e..58fdef3e 100644 --- a/plugins/include/halflife.inc +++ b/plugins/include/halflife.inc @@ -229,7 +229,7 @@ native PrintToChat(client, const String:format[], any:...); stock PrintToChatAll(const String:format[], any:...) { new num = GetMaxClients(); - decl buffer[256]; + decl String:buffer[192]; VFormat(buffer, sizeof(buffer), format, 2); @@ -263,7 +263,7 @@ native PrintCenterText(client, const String:format[], any:...); stock PrintCenterTextAll(const String:format[], any:...) { new num = GetMaxClients(); - decl buffer[256]; + decl String:buffer[192]; VFormat(buffer, sizeof(buffer), format, 2); diff --git a/plugins/include/sourcemod.inc b/plugins/include/sourcemod.inc index 394d9b35..7bec4ea6 100644 --- a/plugins/include/sourcemod.inc +++ b/plugins/include/sourcemod.inc @@ -40,13 +40,15 @@ struct Plugin #include #include #include -#include #include #include #include #include #include #include +#include + +#define MAXPLAYERS 64 /**< Maximum number of players that can be in server */ /** * Declare this as a struct in your plugin to expose its information.