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++) { 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.