native register_dictionary(const filename[]);
filename | Dictionary file name |
Registers a dictionary file, making sure the words are in the dictionary.
The file should be in "addons/amxmodx/data/lang", but only the name needs to be given. For example, register_dictionary("file.txt") will be "addons/amxmodx/data/lang/file.txt".
On success, the function will return 1, otherwise it will return 0 if the file couldn't be found or opened, and -1 if the dictionary was already registered by a plugin
This documentation was generated automatically using pawn-docgen written by xPaw for AlliedMods.