[HELP] With color in Dialogs
#4

Quote:
Originally Posted by _rAped
Посмотреть сообщение
First of all you haven't defined the variable hexcolor? Second off you haven't made HexColor return the GetPlayerColor
Thanks for your ansver.
Sure i have defined hexcolor (this stock was only for demonstration what I need) but thanks for notice.
But I do not know how can i get return in format compatibile with dialog from command GetPlayerColor.

If I use :
Код:
new string[64];
format(string, sizeof(string), "%x", GetPlayerColor(playerid));
To inserts a number in hexadecimal notation. I'll get from 0x008000AA only 8000AA but it is different color what I need.
What is wrong in this simple function?
Reply


Messages In This Thread
[HELP] With color in Dialogs - by David91 - 05.01.2011, 15:06
Re: [HELP] With color in Dialogs - by David91 - 06.01.2011, 14:12
Re: [HELP] With color in Dialogs - by _rAped - 06.01.2011, 14:15
Re: [HELP] With color in Dialogs - by David91 - 06.01.2011, 19:11

Forum Jump:


Users browsing this thread: 1 Guest(s)