Hello guys.
I have a command /reports only for admins. It shows all the reports submitted by players. I use for something like this:
My question is, how can I make each row to be a different color? Like in this pictures: https://i.imgur.com/6BZU6Jo.png
example
I have a command /reports only for admins. It shows all the reports submitted by players. I use for something like this:
Code:
CMD:reports(playerid, params) {
for(new i; i < MAX_REPORTS; ++i)
{
if(Reports[i][reportValide]) {
format(string, sizeof(string), "Report: %s", Reports[i][reportDetails]);
SCM(playerid, COLOR_BLUE, string);
}
}
return 1;
}
example
Code:
row 1 - color A
row 2 - color B
row 3 - color A
row 4 - color B