06.07.2016, 18:20
Hi all,
I've been looking all over for how to do this, but cant seem to find anything anywhere to help me crack it. I'm trying to embed colour codes into a string using format. My code is below:
However, unfortunately it's just outputting like below:
Any ideas? Thanks
I've been looking all over for how to do this, but cant seem to find anything anywhere to help me crack it. I'm trying to embed colour codes into a string using format. My code is below:
Код:
#define EMBED_WHITE "{FFFFFF}" #define EMBED_WHITESMOKE "{F5F5FF}" format(string, sizeof(string), "%x%s: %x%s",EMBED_WHITE, fullName(playerid, false), EMBED_WHITESMOKE, text);
Any ideas? Thanks