Saving color
#1

How do I save color into variable?
Код:
color[15];
color="0xa95656AA";
I tried this, but it doesnt work
Reply
#2

Simply do like this:
Код:
new color;
color = 0xA95656AA;
Reply
#3

colors are integers not strings 0xa95656AA is a hexadecimal form of a integer
Reply
#4

In runtime, with SSCANF.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)