Issues writing to files
#6

Ok I sorted that problem out. Still don't know what was causing it. Now I'm trying to save the LogFile in a directory, but every time I do, my server crashes on startup.

pawn Код:
LogFile = fopen("AdminClick/ACLog.txt", io_write);
Thats the bit that crashes it. My script has no warnings nor errors, it works fine if I get rid of the "AdminClick/" bit. I see in other scripts they do it like this and theirs work, but mine doesn't.

Credits will be given in script for who fixes it.

EDIT: I made the directory myself and now it works. Does that mean SA:MP can't make it's own directories?
Reply


Messages In This Thread
Issues writing to files - by biltong - 28.03.2010, 21:48
Re: Issues writing to files - by Jefff - 29.03.2010, 00:02
Re: Issues writing to files - by Mystique - 29.03.2010, 07:12
Re: Issues writing to files - by [gmR]BarMaN - 29.03.2010, 07:26
Re: Issues writing to files - by biltong - 29.03.2010, 08:14
Re: Issues writing to files - by biltong - 29.03.2010, 11:52
Re: Issues writing to files - by Mikep. - 29.03.2010, 13:47

Forum Jump:


Users browsing this thread: 1 Guest(s)