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