fixed amb455

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401040
This commit is contained in:
David Anderson
2007-07-03 20:16:40 +00:00
parent 816bdc8102
commit cb77ef5b7d
3 changed files with 21 additions and 2 deletions
+8
View File
@@ -41,8 +41,16 @@ static cell_t sm_LoadTranslations(IPluginContext *pCtx, const cell_t *params)
return 1;
}
static cell_t sm_SetGlobalTransTarget(IPluginContext *pContext, const cell_t *params)
{
g_SourceMod.SetGlobalTarget(params[1]);
return 1;
}
REGISTER_NATIVES(langNativeS)
{
{"LoadTranslations", sm_LoadTranslations},
{"SetGlobalTransTarget", sm_SetGlobalTransTarget},
{NULL, NULL},
};