07.12.2010, 11:26
Quote:
pawn Code:
|
pawn Code:
stock hexToCol(hex)
{
new str[9];
format(str,9,"{%x}",hex);
return str;
}
printf("%s",hexToCol(0xFF77EE));
#define Color:xxx 0xFF77EE
printf("%s",hexToCol(Color:xxx));
Nice tut,good for newbie