08.07.2016, 17:58
Add 0x at the beggining and FF at the end of each one and then simply:
or if it is client message selColor[index] will be the color to set to like:
Make sure "index_here" (the number the player specifies) is in bounds.
pawn Код:
format(string, sizeof(string), "{%06x}This is what the color is.", selColor[index_here] >>> 8);
pawn Код:
SendClientMessage(playerid, selColor[index_here], "This is what the color is.");