[REP++] PROBLEM ! HEX TO ARGB
#7

Quote:
Originally Posted by buburuzu19
Посмотреть сообщение
SetObjectMaterialText requires me to use 0xFFFFFFFF colors.
Give me an example of how to use all your code in SetObjectMaterialText and how should i store the color in the mysql database.
Thanks.

EDIT: My variable for colors is CarInfo[i][ttColor]
You can just as well use decimal numbers SetObjectMaterialText . hexidecimal numbers(0xabc) is just an different representation of numbers.

Store your numbers in a variable (CarInfo[i][ttColor] in your case) and simply store that variable to the database in a int column.
Reply


Messages In This Thread
Solved. - by buburuzu19 - 13.08.2015, 14:33
AW: [REP++] PROBLEM ! HEX TO ARGB - by Kaliber - 13.08.2015, 14:37
Re: [REP++] PROBLEM ! HEX TO ARGB - by buburuzu19 - 13.08.2015, 14:40
Re: [REP++] PROBLEM ! HEX TO ARGB - by Vince - 13.08.2015, 14:53
Re: [REP++] PROBLEM ! HEX TO ARGB - by LetsOWN[PL] - 13.08.2015, 14:54
Re: [REP++] PROBLEM ! HEX TO ARGB - by buburuzu19 - 13.08.2015, 14:59
Re: [REP++] PROBLEM ! HEX TO ARGB - by ikkentim - 13.08.2015, 15:18
Re: [REP++] PROBLEM ! HEX TO ARGB - by buburuzu19 - 13.08.2015, 15:29
Re: [REP++] PROBLEM ! HEX TO ARGB - by buburuzu19 - 13.08.2015, 15:53
Re: [REP++] PROBLEM ! HEX TO ARGB - by Jefff - 13.08.2015, 16:01

Forum Jump:


Users browsing this thread: 2 Guest(s)