undefined symbol "F5F5F5"
#5

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


Messages In This Thread
undefined symbol "F5F5F5" - by danielpalade - 08.07.2016, 17:48
Re: undefined symbol "F5F5F5" - by Dayrion - 08.07.2016, 17:52
Re: undefined symbol "F5F5F5" - by danielpalade - 08.07.2016, 17:55
Re: undefined symbol "F5F5F5" - by Mencent - 08.07.2016, 17:57
Re: undefined symbol "F5F5F5" - by Konstantinos - 08.07.2016, 17:58
Re: undefined symbol "F5F5F5" - by danielpalade - 08.07.2016, 18:35

Forum Jump:


Users browsing this thread: 2 Guest(s)