Server Crashing
#1

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);
Reply
#2

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

<3
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)