10.09.2009, 19:21
Hey, bascially I am making a straight write in this one area
But it comes out in the file like this:
The word UNOWNED sort of doesn't appear fully.
Anyone know why?
pawn Код:
new fname[100];
format(fname,100,"/Houses/%i.cfg",hid);
new File:hfile = fopen(fname,io_write);
fclose(hfile);
hfile = fopen(fname,io_append);
new FileInfo[100][3];
format(FileInfo[0],100,"Unowned \n"); fwrite(hfile,FileInfo[1]);
format(FileInfo[1],100,"IconX=%f\r\n",hx); fwrite(hfile,FileInfo[2]);
format(FileInfo[2],100,"IconY=%f\r\n",hy); fwrite(hfile,FileInfo[3]);
format(FileInfo[3],100,"IconZ=%f\r\n",hz); fwrite(hfile,FileInfo[4]);
fclose(hfile);
Quote:
wned nX=-2521.163574 nY=-623.503662 nZ=132.772262 |
Anyone know why?