26.07.2009, 17:44
Well, here is my code:
I tried: sset("file.txt", " fome text\r\n"); , but text in file doesn't show, file absolutely empty. Why?
pawn Код:
sset(filename[], string[])
{
if(!fexist(filename)) return 0;
new File:newfile = fopen(filename, io_append);
fwrite(newfile, string);
fclose(newfile);
return 1;
}