Kronos Posted January 6, 2013 Share Posted January 6, 2013 Hola amigos quisiera saver como cambiar el color del texto para todos por ejemplo que todos hablen de color azul o asi Link to comment
Castillo Posted January 6, 2013 Share Posted January 6, 2013 Cual texto? el del chat? Link to comment
Kronos Posted January 6, 2013 Author Share Posted January 6, 2013 Cual texto? el del chat? Si Link to comment
Castillo Posted January 6, 2013 Share Posted January 6, 2013 De todo el mensaje? o solo lo que dicen? Link to comment
Kronos Posted January 6, 2013 Author Share Posted January 6, 2013 De todo el mensaje? o solo lo que dicen? De todo lo que dicen que de todo lo que hablen este de un color Por ejemplo cuando digan hola aparesca de un color cuando digan otra palabra aparesca del mismo color y asi Link to comment
Castillo Posted January 6, 2013 Share Posted January 6, 2013 addEventHandler ( "onPlayerChat", root, function ( msg, msgType ) if ( msgType == 0 ) then local r, g, b = getPlayerNametagColor ( source ) outputChatBox ( getPlayerName ( source ) ..": #0000FF".. msg, root, r, g, b, true ) cancelEvent ( ) end end ) Link to comment
Recommended Posts