12.12.2014, 15:06
pawn Код:
CMD:bugreports(playerid, params[])
{
new str[500], str2[500];
bugs = fopen("Reported_Bugs.txt", io_read);
while(fread(bugs, str, sizeof str, false))
{
format(str, sizeof(str), "%s%s", str2, str);
}
fclose(bugs);
ShowPlayerDialog(playerid, DIALOG_BUGS, DIALOG_STYLE_MSGBOX, "Bug Reports", str, "Close", "");
return 1;
}
I've edited the code. I haven't tested, but this may work. I'm not to sure.