File Reading
#4

what about this?
pawn Код:
new filename[55], string[250];
       format(filename, sizeof(filename),"Players/%s.ini", name);
       new File:user = fopen(filename, io_write); // Open the file
       fopen(user, io_write);
       format(string, sizeof(string),"%s %s 0 0 0 299 0 0 0 255 1 0",name, inputtext);
       fwrite(user, string);
       fclose(user);
Reply


Messages In This Thread
File Reading - by Criss_Angel - 12.02.2011, 19:06
Re: File Reading - by Hiddos - 12.02.2011, 19:08
Re: File Reading - by Grim_ - 12.02.2011, 19:09
Re: File Reading - by Criss_Angel - 12.02.2011, 19:13
Re: File Reading - by Criss_Angel - 12.02.2011, 19:16
Re: File Reading - by Criss_Angel - 13.02.2011, 14:33

Forum Jump:


Users browsing this thread: 1 Guest(s)