29.03.2010, 11:52
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.
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?
pawn Код:
LogFile = fopen("AdminClick/ACLog.txt", io_write);
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?