I need a log function
log file in the addons out directory
For example where is motd.txt file there motd2.log or *.txt
Code:
register_dictionary("motd2.txt");
get_datadir(log_file, sizeof(log_file) - 1);
add(log_file, sizeof(log_file) - 1, "/motd2.txt"); // <<<< This is a directory inside addons - data/ :-(
__________________