31.08.2009, 16:00
Why this code crashes server?
I debugged it, it crashes in line "fclose(newf);".
pawn Код:
new string[50];
format(string, 128, "%s.txt", strlen(params));
if(!fexist(string))
{
new File:newf = fopen(string, io_write);
fclose(newf);
}