You'll have to add the following line into
plugin_init()
PHP Code:
register_dictionary("Your-ML-FileName-Here.txt");
And after that, you would have to create / move your ML file in
addons/amxmodx/data/lang
If you want to print a ML text to a client, you can do like:
PHP Code:
client_print(0, print_chat, "%L", LANG_SERVER, "ML-MESSAGE-VARIABLE", message arguments); // for printing to all clients in server language
client_print(0, print_chat, "%L", LANG_PLAYER, "ML-MESSAGE-VARIABLE", message arguments); // for printing to all clients in their own language
PHP Code:
client_print(iClient, print_chat, "%L", iClient, "ML-MESSAGE-VARIABLE", message arguments); // for printing to a single target in his own language
__________________