File writing
#1

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..
Reply


Messages In This Thread
File writing - by GaGlets(R) - 28.11.2010, 18:01
Re: File writing - by GaGlets(R) - 28.11.2010, 18:38

Forum Jump:


Users browsing this thread: 1 Guest(s)