Jump to content

Color chat text


Recommended Posts

Hi,guys how to do to write me login_info.quest color in chat ? whitout eny ring or item Example: in my login_info.quest i have the line

chat ( "Welcome Susanoo" ) ,but in game in chat appear white(normal) ,but how i make to write in chat "Welcome Susanoo"but in green for example ? like theat system with "say_green (....) .

Link to comment
Share on other sites

  • Premium

quest_functions:

say_blue
say_blue2
say_red
say_green
say_gold
say_black
say_white
say_yellow

Questlib.lua

 

function say_blue ( name ) say ( color256 ( 0 , 0 , 255 ).. name .. color256 ( 0 , 0 , 255 )) end
function say_red ( name ) say ( color256 ( 255 , 0 , 0 ).. name .. color256 ( 255 , 0 , 0 )) end
function say_green ( name ) say ( color256 ( 0 , 238 , 0 ).. name .. color256 ( 0 , 238 , 0 )) end
function say_gold ( name ) say ( color256 ( 255 , 215 , 0 ).. name .. color256 ( 255 , 215 , 0 )) end
function say_black ( name ) say ( color256 ( 0 , 0 , 0 ).. name .. color256 ( 0 , 0 , 0 )) end
function say_white ( name ) say ( color256 ( 255 , 255 , 255 ).. name .. color256 ( 255 , 255 , 255 )) end
function say_yellow ( name ) say ( color256 ( 255 , 255 , 0 ).. name .. color256 ( 255 , 255 , 0 )) end
function say_blue2 ( name ) say ( color256 ( 0 , 206 , 209 ).. name .. color256 ( 0 , 206 , 209 )) end

Exemple quest:

 

say_blue ( "Metin2dev" )
say_blue2 ( "Metin2dev" )
say_red ( "Metin2dev" )
say_green ( "Metin2dev" )
say_gold ( "Metin2dev" )
say_black ( "Metin2dev" )
say_white ( "Metin2dev" )
say_yellow ( "Metin2dev" )

:D

  • Good 1
  • Love 2
Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.