Hello everyone.
How can I get a translation for a phrase from the game for a specific language of the player?
I mean phrases that the player already has locally in the game folder.
HTML Code:
public void OnPluginStart()
{
RegConsoleCmd("sm_trtest", Command_Test);
}
public Action Command_Test(int client, int args)
{
char tt[27];
Format(tt, sizeof(tt), "#TF_invasion_pistol");
PrintToChatAll(". %s", tt);
PrintToChatAll("%s",tt);
return Plugin_Handled;
}
Normal PrintToChat * outputs the translation, but only if there are no other characters besides the translation phrase.
__________________