30.11.2014, 17:29
You need to do something like this....
pawn Код:
h = fopen(gFile[E_FILENAME], io_read);
if (!h) return false;
g = fopen(copyname, io_write);
if (!g)
{
fclose(h);
return false;
}