16.10.2013, 06:41
when add scrip, Only show 6 zero the end of the hex
SendClientMessageEx(playerid, 9276927, string);
Can i help me ?
SendClientMessageEx(playerid, 9276927, string);
Can i help me ?
#define COLOR_BLACK #00000000 // 6 digits, followed by 2 transparency specifiers.
SendClientMessage(playerid, COLOR_BLACK, "This is a color..");
Originally Posted by wiki.sa-mp.com
RR - Two values for the red (Where FF is max, and 00 is the lowest).
GG - Two values for the green (Where FF is max, and 00 is the lowest). BB - Two values for the blue (Where FF is max, and 00 is the lowest). AA - Two values for the transparency (Where FF is max, and 00 is the lowest). |
pawn Код:
Hope this helps. |
#define COLOR_RED 0xFF0000FF
SendClientMessage(playerid, COLOR_RED, "This is a color..");
new color = 9276927;
{%6x}
format(szDialogStr, sizeof szDialogStr, "{%6x}this is a color", color);
format(szDialogStr, sizeof szDialogStr, "this is a color",);
SendClientMessageEx(playerid, color, szDialogStr);