Jump to content

Recommended Posts

Hi!

I maked in my source Vegas country and empire flag system, and i have some question.

How can i change the country flag cuz its work but i got ro flag. I want to change this how can i make this?

And next to the flags write this [F9 (and here my name) whats this?

Thanks for helps.

Link to comment
https://metin2.dev/topic/19965-help-vegas-country-and-empire-flag/
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

What?

I dont know where can i find this. Cuz i have this lines:

 

              Char.cpp:

Quote

 strlcpy(addPacket.language, "hu", sizeof(addPacket.language));      

 

Input_main.cpp:

Spoiler

#ifdef ENABLE_LANG_AND_EMPIRE_FLAG
                strlcpy(pack.bLanguage, "hu", sizeof(pack.bLanguage));
                strlcpy(pack.bEmpire, GetEmpireFlag(ch->GetName()).c_str(), sizeof(pack.bEmpire));
#endif

Quote

#ifdef ENABLE_LANG_AND_EMPIRE_FLAG
    if (CHAT_TYPE_SHOUT == pinfo->type)
    {
        std::string c_pszEmpire = ConvertEmpireIndexToStr(ch->GetEmpire()).c_str();        
        std::string temp_buf = chatbuf;
        
        if (strlen(c_pszEmpire.c_str()) > 0)
        {
            len = snprintf(chatbuf, sizeof(chatbuf), "/lang/ro//empire/%s/%s", c_pszEmpire.c_str(), temp_buf.c_str());
            //sys_err(chatbuf);        // enable for some chat test if that need.
        }
    }
#endif

Quote

std::string c_pszLanguage = "ro";

So where can i add this lines what u say? O.o

Don't use any images from : imgur, turkmmop, freakgamers, inforge, hizliresim... Or your content will be deleted without notice...
Use : https://metin2.download/media/add/

Please use https://metin2.download/ when uploading files smaller than 100MB, otherwise the approval will take longer due to manual upload.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • 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.