Increased PrintToChat & PrintToChatAll buffer size from 192 to 254; works in CSS/CSGO; dunno for the rest

This commit is contained in:
TheMadSword 2015-05-07 09:38:25 -04:00
parent 5694a759ce
commit f57dbeb60f
2 changed files with 2 additions and 2 deletions

View File

@ -320,7 +320,7 @@ static cell_t PrintToChat(IPluginContext *pContext, const cell_t *params)
g_SourceMod.SetGlobalTarget(client); g_SourceMod.SetGlobalTarget(client);
char buffer[192]; char buffer[254];
{ {
DetectExceptions eh(pContext); DetectExceptions eh(pContext);

View File

@ -323,7 +323,7 @@ native PrintToChat(client, const String:format[], any:...);
*/ */
stock PrintToChatAll(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++) for (new i = 1; i <= MaxClients; i++)
{ {