Posts: 112
Threads: 35
Joined: Jul 2014
Reputation:
0
Try this, but does not work
CMD:test(playerid, params[])
{
new
File:members = fopen("4.txt", io_read),
string[120],string2[120], str[512];
if(members)
{
while(fread(members, string))
{
format(string2, sizeof(string2), "%s\n%s", string2, string);
}
}
ShowPlayerDialog(playerid, 11, DIALOG_STYLE_MSGBOX, "-", string, "Ok", "");
return 1;
}
Posts: 1,578
Threads: 15
Joined: Feb 2013
Reputation:
0
Read that topic again. You're using dialogs not client messages, so use the first way.