24.12.2015, 01:19
The following code just places the next ban after the first one without going to a new line, what is wrong with my formatting?
Код:
forward BanLog(string[]);
public BanLog(string[])
{
new entry[128];
format(entry, sizeof(entry), "%s\r\n",string);
new File:hFile;
hFile = fopen("/LOGS/bans.log", io_append);
fwrite(hFile, entry);
fclose(hFile);
}

