How can I do that?
#1

Hello guys.

I have a command /reports only for admins. It shows all the reports submitted by players. I use for something like this:
Код:
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;
}
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
Код:
row 1 - color A
	row 2 - color B
	row 3 - color A
	row 4 - color B
Reply


Messages In This Thread
How can I do that? - by None1337 - 14.12.2017, 10:58
Re: How can I do that? - by Kaperstone - 14.12.2017, 11:10
Re: How can I do that? - by None1337 - 14.12.2017, 11:27
Re: How can I do that? - by MEW273 - 14.12.2017, 11:47
Re: How can I do that? - by None1337 - 14.12.2017, 13:45
Re: How can I do that? - by Konstantinos - 14.12.2017, 14:28

Forum Jump:


Users browsing this thread: 1 Guest(s)