12.12.2014, 15:14
Код:
CMD:bugreports(playerid, params[]) { new str[500]; bugs = fopen("Reported_Bugs.txt", io_read); while(fread(bugs, str, sizeof str, false)) { format(str, sizeof str, "%s%s\n", str, str);// Warning on this line!! } fclose(bugs); ShowPlayerDialog(playerid, DIALOG_BUGS, DIALOG_STYLE_MSGBOX, "Bug Reports", str, "Close", ""); return 1; }