25.04.2014, 14:43
You try to store the player's colour as hex (with alpha equal to 0) in a string and then set that color (which is already set) but the 2nd argument must be integer, not a string. Except the fact that I find that pointless unless you wanted to do something else, you can use sscanf.