From 8a4b6accc206974a152208a0b3bf36b088a73c9e Mon Sep 17 00:00:00 2001 From: TheMadSword Date: Thu, 12 Mar 2015 22:52:03 -0400 Subject: [PATCH 1/2] Specifying more in details what GetClientLanguage does --- plugins/include/lang.inc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/plugins/include/lang.inc b/plugins/include/lang.inc index f4cb069569..c3a35a6aa2 100644 --- a/plugins/include/lang.inc +++ b/plugins/include/lang.inc @@ -60,6 +60,9 @@ native SetGlobalTransTarget(client); /** * Retrieves the language number of a client. * + * By default that language number is representing the language + * that the client's Steam application is using. + * * @param client Client index. * @return Language number client is using. * @error Invalid client index or client not connected. From 0dff21f855c34ebab198a125292955d52c9e4a67 Mon Sep 17 00:00:00 2001 From: TheMadSword Date: Thu, 7 May 2015 08:45:08 -0400 Subject: [PATCH 2/2] Changing PrintToChat & PrintToChatAll buffer from 192 to 254; works under both 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 d8e0250755..0f0609ccbb 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 4514bb0869..6385232775 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++) {