
Está repetindo os headers, alguém sabe como resolver??
PHP Code:
CMD:reports(playerid, params[])
{
if (PlayerData[playerid][pAdmin] < 1)
return SendErrorMessage(playerid, "Você não possui autorização para utilizar este comando.");
new
string[1040];
for (new i = 0; i != MAX_REPORTS; i ++) if (ReportData[i][rExists])
{
strcat(string, "Report\tSolicitante\tMensagem\n");
format(string, sizeof(string), "%s%d\t%s (ID:%d)\t%.20s...\n%s", string, i, ReturnName(ReportData[i][rPlayer]), ReportData[i][rPlayer], ReportData[i][rText]);
}
Dialog_Show(playerid, ReportsList, DIALOG_STYLE_TABLIST_HEADERS, "Pedidos de Ajuda", string, "Ver", "Fechar");
return 1;
}