16.07.2012, 14:35
With fread, whole file should be readed. Well, it is, but I have some problems.
Text in file:
My code:
But it outputs
without new lines...
Any solutions?
Text in file:
Код:
Patrick\nPat\nPotatoman
Код:
new string[64]; new File:example = fopen("File.txt", io_read); fread(example, string); fclose(example); ShowPlayerDialog(playerid, 899, DIALOG_STYLE_MSGBOX, "Names", string, "Ok", ""); // Print what was read
Код:
Patrick\nPat\nPotatoman
Any solutions?