16.10.2013, 10:22
when I use the format
Here is the hex to RPG when I type in a dialog it is stored on the database as integers
hex triplet #8d8dff has decimal index of: 9276927
for example
it works
I use it to send the RADIO that does not work switch to a different color than the part I bolded 9276927
it does not work
Код:
new color = 9276927;
hex triplet #8d8dff has decimal index of: 9276927
Код:
{%6x}
Код:
format(szDialogStr, sizeof szDialogStr, "{%6x}this is a color", color);
I use it to send the RADIO that does not work switch to a different color than the part I bolded 9276927
Код:
format(szDialogStr, sizeof szDialogStr, "this is a color",);
Код:
SendClientMessageEx(playerid, color, szDialogStr);