What's the correct way to format this? I've tried several combinations of different things and nothing's working. I'm wanting to color the client's name the same color you see in in-game team chat (testing in L4D2). I know the color is 0x99CCFF .
I don't want to make a dependency on an include file - so I'd rather manually do this myself.
Code:
#define BLUE 0x99CCFF
PrintToChatAll("\x01\x07%06x%N \x01 : Test Message", BLUE, client);
Prints this:
99CCFFdustin : Test Message
I've tried inserting a decimal in various places in the '06' and also capitalizing the X after the 06 (Deathreus's suggestion) but I can't seem to get it working.
Edit: this is originally where I got the idea
https://forums.alliedmods.net/showpo...22&postcount=4