HEX formatting
#7

Quote:
Originally Posted by Konstantinos
Посмотреть сообщение
The code you posted in your first post does the opposite. It makes the brackets [] white and the MSG blue.

pawn Код:
stock SendSystemMessage(playerid, color, message[])
{
    new string[144];
    format(string, sizeof(string), "[{FFFFFF}MSG{2B78FF}] {%06x}%s", color >>> 8, message);
    SendClientMessage(playerid, 0x2B78FFFF, string);
}
Yes I know, but I changed that. The problem is the string message, not the "[MSG]" part
Reply


Messages In This Thread
HEX formatting - by sim_sima - 19.12.2013, 14:15
Re: HEX formatting - by Konstantinos - 19.12.2013, 14:20
Re: HEX formatting - by sim_sima - 19.12.2013, 14:26
Re: HEX formatting - by Konstantinos - 19.12.2013, 14:30
Re: HEX formatting - by sim_sima - 19.12.2013, 14:36
Re: HEX formatting - by Konstantinos - 19.12.2013, 14:41
Re: HEX formatting - by sim_sima - 19.12.2013, 14:43
Re: HEX formatting - by Konstantinos - 19.12.2013, 14:51
Re: HEX formatting - by sim_sima - 19.12.2013, 14:55

Forum Jump:


Users browsing this thread: 2 Guest(s)