Quote:
Originally Posted by ******
In that case the code I already posted will do:
pawn Код:
format(str, sizeof (str), "{%06x}text", GetPlayerColor(playerid) >>> 8);
The "06" in the x specifier may not be required. It isn't in RC1 as short colour codes are valid ({FF} is blue), but I know long codes ({FFAA4455}) are invalid in RC3, I've not yet had a chance to retest short codes.
|
Wow, thank you very much ******, you are a savior!