Merge pull request #333 from TheMadSword/IncreasedPrintToBufferSize
Increased PrintToChat, PrintCenter & PrintHint w/ "all" version, buffer sizes from 192 to 254.
This commit is contained in:
@@ -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);
|
||||
@@ -354,7 +354,7 @@ static cell_t PrintCenterText(IPluginContext *pContext, const cell_t *params)
|
||||
|
||||
g_SourceMod.SetGlobalTarget(client);
|
||||
|
||||
char buffer[192];
|
||||
char buffer[254];
|
||||
|
||||
{
|
||||
DetectExceptions eh(pContext);
|
||||
@@ -388,7 +388,7 @@ static cell_t PrintHintText(IPluginContext *pContext, const cell_t *params)
|
||||
|
||||
g_SourceMod.SetGlobalTarget(client);
|
||||
|
||||
char buffer[192];
|
||||
char buffer[254];
|
||||
{
|
||||
DetectExceptions eh(pContext);
|
||||
g_SourceMod.FormatString(buffer, sizeof(buffer), pContext, params, 2);
|
||||
|
||||
Reference in New Issue
Block a user