Read from file.
#3

No,
Listen at the first code it shows you how it saves. and every time it save it saves the text, but you save few times in the file - there's lines. and when I want to see all the text is in the file I see only the first line.

Quote:

And now I want to put it on a dialog:

How I tried to do that:
Код:
new File:filee = fopen(string, io_read);
new stringg[1300];
fread(filee, stringg);
format(string3, sizeof(string3), "Wanted for:\n%s", stringg);
ShowPlayerDialog(playerid,24,DIALOG_STYLE_MSGBOX,"POLICE DATABASE",string3,"Residence","Exit");
fclose(filee);
but it shows me onlt the first line and no all the lines. "First(14/12/2010)"

How can I do that ?

Reply


Messages In This Thread
Read from file. - by Gennum. - 15.12.2012, 15:03
Re: Read from file. - by Tanush123 - 15.12.2012, 15:49
Re: Read from file. - by Gennum. - 16.12.2012, 08:28

Forum Jump:


Users browsing this thread: 1 Guest(s)