From f57dbeb60f7a8ebafe6e2b5f8167b59fbc53cbec Mon Sep 17 00:00:00 2001 From: TheMadSword Date: Thu, 7 May 2015 09:38:25 -0400 Subject: [PATCH] Increased PrintToChat & PrintToChatAll buffer size from 192 to 254; works in CSS/CSGO; dunno for the rest --- core/smn_halflife.cpp | 2 +- plugins/include/halflife.inc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/core/smn_halflife.cpp b/core/smn_halflife.cpp index d8e02507..0f0609cc 100644 --- a/core/smn_halflife.cpp +++ b/core/smn_halflife.cpp @@ -320,7 +320,7 @@ static cell_t PrintToChat(IPluginContext *pContext, const cell_t *params) g_SourceMod.SetGlobalTarget(client); - char buffer[192]; + char buffer[254]; { DetectExceptions eh(pContext); diff --git a/plugins/include/halflife.inc b/plugins/include/halflife.inc index 4514bb08..63852327 100644 --- a/plugins/include/halflife.inc +++ b/plugins/include/halflife.inc @@ -323,7 +323,7 @@ native PrintToChat(client, const String:format[], any:...); */ stock PrintToChatAll(const String:format[], any:...) { - decl String:buffer[192]; + decl String:buffer[254]; for (new i = 1; i <= MaxClients; i++) {