Quote:
Originally Posted by Konstantinos
pawn Код:
stock SendSystemMessage(playerid, color, message[]) { new string[144]; format(string,sizeof(string),"[{2B78FF}MSG{FFFFFF}] {%06x}%s", color >>> 8, message); SendClientMessage(playerid, -1, string); }
|
Doesn't work. I need to split the HEX color like this: 0x 009900 FF
so that it only uses the MIDDLE 6 characters of the HEX.
Removing the 0x and the FF like this: 009900
Thank you for trying though