Raised This Month: $ Target: $400
 0% 

I need a log function


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
1ka
Senior Member
Join Date: Jun 2012
Old 01-19-2015 , 16:42   I need a log function
Reply With Quote #1

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/ :-(
__________________
Sorry for my bad english.

Last edited by 1ka; 01-19-2015 at 16:44.
1ka is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 22:26.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode