Jump to content
×
×
  • Create New...
  • 0

[NEED HELP] Shouting with nations Colors [Metin2]


SlayerPro

Question

 
hi guys 

i need help with my neew server

i want to make the shout with colors i mean 

when somebody from Shinsoo write in shout hes name and hes talk shown in RED color 

and when somebody from Yellow write in shout hes name and hes talk shown in Yellow color 

and when somebody from Jinno - blue write in shout hes name and hes talk shown in blue color 

i need it very much 

 

Link to comment
Share on other sites

  • Answers 2
  • Created
  • Last Reply

Top Posters For This Question

Top Posters For This Question

2 answers to this question

Recommended Posts

  • 0
  • Premium

Maybe try this:

const char* kingdoms[3] = {"|cFFff0000|H|h","|cFFFFFF00|H|h","|cFF0080FF|H|h"};
		char chatbuf_global[CHAT_MAX_LEN + 1];
		int len_global = snprintf(chatbuf_global, sizeof(chatbuf_global), "%s %s|cFFA7FFD4|H|h",kingdoms[ch->GetEmpire()-1], chatbuf);

But I dont sure if it can works.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


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.