core/smn_fakenatives.cpp
changeset 1011 b413072540fd
parent 805 cdbcd5af7c6e
child 1231 17badaf66ce4
     1.1 --- a/core/smn_fakenatives.cpp	Sun Jun 24 18:56:58 2007 +0000
     1.2 +++ b/core/smn_fakenatives.cpp	Sun Jun 24 19:40:25 2007 +0000
     1.3 @@ -119,6 +119,8 @@
     1.4  		return pContext->ThrowNativeError("Not called from inside a native function");
     1.5  	}
     1.6  
     1.7 +	g_SourceMod.SetGlobalTarget(LANG_SERVER);
     1.8 +
     1.9  	char buffer[512];
    1.10  
    1.11  	g_SourceMod.FormatString(buffer, sizeof(buffer), pContext, params, 2);