Making auto reading a file?
#4

You could add this code to it after it bans someone.
pawn Код:
new File:bFile = fopen("autobans.log", io_append);
if(bFile)
{
   fwrite(bFile, "AUTOBANS");
}
fclose(bFile);
Make sure the file exists on start of the server or it will crash.
Reply


Messages In This Thread
Making auto reading a file? - by Face9000 - 16.11.2010, 11:42
Re: Making auto reading a file? - by Patrik356b - 16.11.2010, 13:10
Re: Making auto reading a file? - by Face9000 - 16.11.2010, 18:19
Re: Making auto reading a file? - by Grim_ - 16.11.2010, 18:40
Re: Making auto reading a file? - by Face9000 - 16.11.2010, 18:52

Forum Jump:


Users browsing this thread: 2 Guest(s)