08.10.2009, 17:34
Code:
public BugLog(string[])
{
new entry[128];
new File:hFile;
hFile = fopen("bug.ini", io_append);
format(entry, sizeof(entry), "%s\n",string);
fwrite(hFile, entry);
fclose(hFile);
}
it doesnt DO NEWLINE(thingie) :S
it saves everything in 1 line :S but i want every time it writes...to write it in a new line :S
this is WHAT should happen :S
Code:
format(string, sizeof(string), "|%s| BUG: %s ))", sendername ,result); BugLog(string);

