12.12.2014, 15:13
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(str2, sizeof(str2), "%s%s", str2, str);
}
fclose(bugs);
ShowPlayerDialog(playerid, DIALOG_BUGS, DIALOG_STYLE_MSGBOX, "Bug Reports", str2, "Close", "");
return 1;
}
Take note, I've edited it again.