21.01.2010, 21:41
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);
}

