Kronos Posted January 6, 2013 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
Castillo Posted January 6, 2013 Posted January 6, 2013 Cual texto? el del chat? San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
Castillo Posted January 6, 2013 Posted January 6, 2013 De todo el mensaje? o solo lo que dicen? San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
Kronos Posted January 6, 2013 Author 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
Castillo Posted January 6, 2013 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 ) San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
Recommended Posts