Increased PrintToChat & PrintToChatAll buffer size from 192 to 254; works in CSS/CSGO; dunno for the rest
This commit is contained in:
parent
5694a759ce
commit
f57dbeb60f
@ -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);
|
||||||
|
@ -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++)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user