08.05.2013, 01:06
Hello guys, well I got 1 problem and 1 question.
-Problem: After you use for example some command it will write it how it should but it always writes everything in the same line... It goes like this
-Question: How can I implement that it saves the time too? Time when command was used.
-Problem: After you use for example some command it will write it how it should but it always writes everything in the same line... It goes like this
Код:
<A>Boss is now on duty as administrator!<A>Boss is now on duty as administrator!
Код:
public AdminLog(string[]) { new entry[128]; format(entry, sizeof(entry), "%s\n",string); new File:hFile; hFile = fopen("/LOGS/AdminLog.log", io_append); fwrite(hFile, entry); fclose(hFile); }