Cars not saving?
#9

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


Messages In This Thread
Cars not saving? - by MayaEU - 01.07.2016, 16:29
Re: Cars not saving? - by MayaEU - 01.07.2016, 17:28
Re: Cars not saving? - by Runn3R - 01.07.2016, 18:16
Re: Cars not saving? - by MayaEU - 01.07.2016, 19:04
Re: Cars not saving? - by Konstantinos - 01.07.2016, 19:13
Re: Cars not saving? - by MayaEU - 01.07.2016, 19:17
Re: Cars not saving? - by Konstantinos - 01.07.2016, 19:22
Re: Cars not saving? - by MayaEU - 01.07.2016, 19:31
Re: Cars not saving? - by Konstantinos - 01.07.2016, 19:39
Re: Cars not saving? - by MayaEU - 01.07.2016, 19:43

Forum Jump:


Users browsing this thread: 2 Guest(s)