SA-MP Forums Archive
Server Crashing - 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: Server Crashing (/showthread.php?tid=93439)



Server Crashing - Paladin - 25.08.2009

pawn Код:
new File:hFile2;
hFile1 = fopen("properties/vars.cfg", io_write);
format(var, 32, "%d", houses);fwrite(hFile2, var);
fclose(hFile2);
Hey, when I run this my server crashes, I do not know why, please do not reccomend DUBD or DINI to me!

To be precise I found out that it crashes precisely here:
pawn Код:
format(var, 32, "%d", houses);fwrite(hFile2, var);



Re: Server Crashing - M4S7ERMIND - 25.08.2009

Maybe because it opens file hFile1, but should open hFile2..


Re: Server Crashing - Paladin - 25.08.2009

<3