csgo: enable SayText + raise msg limits (#1118)
Rised limits for SayText and HintText protobuffs in csgo, also switched from TextMsg to SayText in csgo.
This commit is contained in:
@@ -329,7 +329,11 @@ static cell_t PrintToChat(IPluginContext *pContext, const cell_t *params)
|
||||
|
||||
g_SourceMod.SetGlobalTarget(client);
|
||||
|
||||
#if SOURCE_ENGINE == SE_CSGO
|
||||
char buffer[2023];
|
||||
#else
|
||||
char buffer[254];
|
||||
#endif
|
||||
|
||||
{
|
||||
DetectExceptions eh(pContext);
|
||||
@@ -397,7 +401,12 @@ static cell_t PrintHintText(IPluginContext *pContext, const cell_t *params)
|
||||
|
||||
g_SourceMod.SetGlobalTarget(client);
|
||||
|
||||
#if SOURCE_ENGINE == SE_CSGO
|
||||
char buffer[0xFFFF];
|
||||
#else
|
||||
char buffer[254];
|
||||
#endif
|
||||
|
||||
{
|
||||
DetectExceptions eh(pContext);
|
||||
g_SourceMod.FormatString(buffer, sizeof(buffer), pContext, params, 2);
|
||||
|
||||
Reference in New Issue
Block a user