07.01.2011, 20:16
New 0.3c function is " {RRGGBB}Text " in Message to Colored Text.. But PlayerColor is = 0xRRGGBBFF you know.
How to get PlayerColor 0xRRGGBBFF to RRGGBB ?
This code doesn't work correctly The PlayerColor is ; 0x00F600F6 return is; F600F6 but correct return; 00F600
How can I do correct ? Sorry my bad english :/
How to get PlayerColor 0xRRGGBBFF to RRGGBB ?
Код:
format(str, sizeof(str), "{%x}",GetPlayerColor(playerid)); format(MMM, sizeof(MMM),"{FFFFFF}[] %s%s : {FFFFFF}%s", playerid, str, oName, text);
How can I do correct ? Sorry my bad english :/