01.07.2016, 19:39
Replace the comment "loop..." with your exact code (while loop) but without those:
as they are not used outside of the loop.
pawn Код:
if(idx == 0)
{
file2 = fopen("cars.cfg", io_write);
}
else
{
file2 = fopen("cars.cfg", io_append);
}
pawn Код:
fclose(file2);