SA-MP Forums Archive
IRC String Color? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: IRC String Color? (/showthread.php?tid=468175)



IRC String Color? - Alex_Obando - 06.10.2013

pawn Code:
new string[128]; format(string,sizeof(string),"Administrator \"%s\" has killed all players", pName(playerid) );
        IRC_GroupSay(groupID, IRC_CHANNEL, string);

How can I change the color for this at the IRC?


Re: IRC String Color? - Krakuski - 06.10.2013

Quote:

new string[128]; format(string,sizeof(string),"Administrator \"%s\" has killed all players", pName(playerid) );
IRC_GroupSay(groupID, IRC_CHANNEL, string);

Try adding Hex Codes to the front of the sentence. Example:

pawn Code:
new string[128]; format(string,sizeof(string),"{FFD700}Administrator \"%s\" has killed all players", pName(playerid) );
        IRC_GroupSay(groupID, IRC_CHANNEL, string);
Tell me if it works or not.


Re: IRC String Color? - CJ101 - 06.10.2013

Those DO NOT work in IRC. These will:

http://www.mirc.com/colors.html
http://www.ircbeginner.com/ircinfo/colors.html

You might want a irc client to test these out and see how they look.


Respuesta: IRC String Color? - Alex_Obando - 06.10.2013

Example please


Re: Respuesta: IRC String Color? - [ABK]Antonio - 07.10.2013

Quote:
Originally Posted by Alex_Obando
View Post
Example please
If you get a program like MIRC and press ctrl+k you'll get a little bar with colors. You can copy/paste them into the string.