SA-MP Forums Archive
File writing - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: File writing (/showthread.php?tid=194193)



File writing - GaGlets(R) - 28.11.2010

Any, ANY file writing system swont fork for my server anymore..
I havent changed anything in code of them..
It just freezes my server After calling any writing function server wont respond on anything anymore, it doesnt turn off or ends process just freezes.

All files exists..

So one of my writing example.

pawn Код:
public SaveStuff()
{
    new coordsstring[128];
    format(coordsstring, sizeof(coordsstring), "%d,%d,%d,%d,%s,%d,%d,%d,%d,%d,%d,%d,%d", Jackpot,Tax,TaxValue,dome,doorpass,
    nveh[0],nveh[1],nveh[2],nveh[3],nveh[4],nveh[5],nveh[6],nveh[7]);
    new File: file2 = fopen("stuff.ini", io_write);
    fwrite(file2, coordsstring);
    fclose(file2);
    return 1;
}
Edit:

on bouth servers it wont work anymore - windows and linux..


Re: File writing - GaGlets(R) - 28.11.2010

Anyone? this is serious, server is down now ;(