1.1 --- a/core/smn_filesystem.cpp Sun Jun 24 18:56:58 2007 +0000
1.2 +++ b/core/smn_filesystem.cpp Sun Jun 24 19:40:25 2007 +0000
1.3 @@ -481,6 +481,8 @@
1.4
1.5 static cell_t sm_LogToGame(IPluginContext *pContext, const cell_t *params)
1.6 {
1.7 + g_SourceMod.SetGlobalTarget(LANG_SERVER);
1.8 +
1.9 char buffer[1024];
1.10 size_t len = g_SourceMod.FormatString(buffer, sizeof(buffer), pContext, params, 1);
1.11
1.12 @@ -500,6 +502,8 @@
1.13
1.14 static cell_t sm_LogMessage(IPluginContext *pContext, const cell_t *params)
1.15 {
1.16 + g_SourceMod.SetGlobalTarget(LANG_SERVER);
1.17 +
1.18 char buffer[1024];
1.19 g_SourceMod.FormatString(buffer, sizeof(buffer), pContext, params, 1);
1.20
1.21 @@ -511,6 +515,8 @@
1.22
1.23 static cell_t sm_LogError(IPluginContext *pContext, const cell_t *params)
1.24 {
1.25 + g_SourceMod.SetGlobalTarget(LANG_SERVER);
1.26 +
1.27 char buffer[1024];
1.28 g_SourceMod.FormatString(buffer, sizeof(buffer), pContext, params, 1);
1.29