14.12.2017, 14:28
You cannot rely on i as a report may or may not be valid according to what you said. So you will need a counter variable.
pawn Код:
new counter = -1;
for (new i; i < MAX_REPORTS; ++i)
{
if (Reports[i][reportValide])
{
string = "Report: ";
strcat(string, Reports[i][reportDetails]);
SCM(playerid, ++counter % 2 ? COLOR_BLUE : COLOR_YELLOW, string);
}
}

