Can't log - server crash.
#1

Why my server closes when i exec these lines?
Код:
public PayLog(string[])
{
	new entry[256];
	format(entry, sizeof(entry), "%s\n",string);
	new File:hFile;
	hFile = fopen("scriptfiles/pay.log", io_append);
	fwrite(hFile, entry);
	fclose(hFile);
}
Reply


Messages In This Thread
Can't log - server crash. - by SaW_[VrTx] - 21.01.2010, 21:41
Re: Can't log - server crash. - by [HiC]TheKiller - 21.01.2010, 23:05

Forum Jump:


Users browsing this thread: 1 Guest(s)