File Reading
#2

Files are assigned an ID which you use to work with:
pawn Код:
new read[11], filename[56], string[55];
format(filename, sizeof(filename),"Players/%s.ini", name);
new File:file = fopen(filename, io_read);
fread(file, string);
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: 3 Guest(s)