Hex Colour[+Help]
#9

when I use the format

Код:
new color = 9276927;
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

Код:
{%6x}
for example

Код:
format(szDialogStr, sizeof szDialogStr, "{%6x}this is a color", color);
it works

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);
it does not work
Reply


Messages In This Thread
Hex Colour[+Help] - by tvt - 16.10.2013, 06:41
Re: Hex Colour[+Help] - by Isolated - 16.10.2013, 06:50
Re: Hex Colour[+Help] - by tvt - 16.10.2013, 07:05
Re: Hex Colour[+Help] - by newbie scripter - 16.10.2013, 07:15
Re: Hex Colour[+Help] - by tvt - 16.10.2013, 07:18
Re: Hex Colour[+Help] - by Isolated - 16.10.2013, 07:49
Re: Hex Colour[+Help] - by tvt - 16.10.2013, 09:56
Re: Hex Colour[+Help] - by Konstantinos - 16.10.2013, 10:05
Re: Hex Colour[+Help] - by tvt - 16.10.2013, 10:22
Re: Hex Colour[+Help] - by Akcent_Voltaj - 16.10.2013, 13:18

Forum Jump:


Users browsing this thread: 2 Guest(s)