20.12.2010, 17:18
Oh..
But that will save all the ban string,i need to save ONLY the banned name.
This is an example of the BanLog
Any way to edit for saving only the banned name?
But that will save all the ban string,i need to save ONLY the banned name.
This is an example of the BanLog
pawn Код:
public BanLog(string[])
{
new entry[128];
format(entry, sizeof(entry), "%s\n",string);
new File:hFile;
hFile = fopen("/LOGS/bans.log", io_append);
fwrite(hFile, entry);
fclose(hFile);
}