Help with loading logs in a dialog
#5

Код:
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;
}
Reply


Messages In This Thread
Help with loading logs in a dialog - by Jakwob - 12.12.2014, 14:53
Re: Help with loading logs in a dialog - by Sledgehammer - 12.12.2014, 15:06
Re: Help with loading logs in a dialog - by Jakwob - 12.12.2014, 15:11
Re: Help with loading logs in a dialog - by Sledgehammer - 12.12.2014, 15:13
Re: Help with loading logs in a dialog - by Raweresh - 12.12.2014, 15:14
Re: Help with loading logs in a dialog - by Sledgehammer - 12.12.2014, 15:17
Re: Help with loading logs in a dialog - by Raweresh - 12.12.2014, 15:21
Re: Help with loading logs in a dialog - by Jakwob - 12.12.2014, 15:25

Forum Jump:


Users browsing this thread: 1 Guest(s)