#1

i used fread in this way
Код:
new File:filehandle;
filehandle = fopen(filename,io_read);
new contents[1024];
fread(filehandle,contents);
fclose(filehandle);
ShowPlayerDialog(playerid,DIALOG_OVERVIEW_SCRIPT,DIALOG_STYLE_LIST,filename,contents,"Edit","Close");
but it only displays the first line in the file...
how to make it so it displays all
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)