Jump to content
  • 0

Level Color...


eKsiK

Question

9 answers to this question

Recommended Posts

  • 0
  • Former Staff

okay

 

mmm i didn't found this "magenta rgb(207,71,71)"

but try like this if you didn't like it till me i will research

 

try this

	char szText[256];
	if (level >= 1 && level < 10)
	{
		sprintf(szText, "|cFF959697Lv %d|r", level);
		CPythonTextTail::Instance().AttachLevel(GetVirtualID(), szText, s_kLevelColor);
	}
	else if (level >= 10 && level < 20) 
	{
		sprintf(szText, "|cFFFFFFFFLv %d|r", level);
		CPythonTextTail::Instance().AttachLevel(GetVirtualID(), szText, s_kLevelColor);
	}
	else if (level >= 20 && level < 30) 
	{
		sprintf(szText, "|cFF00FF7FLv %d|r", level);
		CPythonTextTail::Instance().AttachLevel(GetVirtualID(), szText, s_kLevelColor);
	}
	else if (level >= 30 && level < 40) 
	{
		sprintf(szText, "|cFF00FF00Lv %d|r", level);
		CPythonTextTail::Instance().AttachLevel(GetVirtualID(), szText, s_kLevelColor);
	}
	else if (level >= 40 && level < 50) 
	{
		sprintf(szText, "|cFF00CCFFLv %d|r", level);
		CPythonTextTail::Instance().AttachLevel(GetVirtualID(), szText, s_kLevelColor);
	}
	else if (level >= 50 && level < 60) 
	{
		sprintf(szText, "|cFF0000FFLv %d|r", level);
		CPythonTextTail::Instance().AttachLevel(GetVirtualID(), szText, s_kLevelColor);
	}
	else if (level >= 60 && level < 70)
	{
		sprintf(szText, "|cFFDA70D6Lv %d|r", level);
		CPythonTextTail::Instance().AttachLevel(GetVirtualID(), szText, s_kLevelColor);
	}
	else if (level >= 70 && level < 80) 
	{
		sprintf(szText, "|cFFC67171Lv %d|r", level);
		CPythonTextTail::Instance().AttachLevel(GetVirtualID(), szText, s_kLevelColor);
	}
	else if (level >= 80 && level < 90) 
	{
		sprintf(szText, "|cFF00FFFFLv %d|r", level);
		CPythonTextTail::Instance().AttachLevel(GetVirtualID(), szText, s_kLevelColor);
	}
	else if (level >= 90 && level < 100)
	{
		sprintf(szText, "|cFFFFCC00Lv %d|r", level);
		CPythonTextTail::Instance().AttachLevel(GetVirtualID(), szText, s_kLevelColor);
	}
	else if (level >= 100 && level < 105) 
	{
		sprintf(szText, "|cFFFF4500Lv %d|r", level);
		CPythonTextTail::Instance().AttachLevel(GetVirtualID(), szText, s_kLevelColor);
	}
	else if (level >= 105) 
	{
		sprintf(szText, "|cFFCD661DLv %d|r", level);
		CPythonTextTail::Instance().AttachLevel(GetVirtualID(), szText, s_kLevelColor);
	}
  • Love 2
Link to comment
Share on other sites

  • 0

1-9 - grey

10-19 - white

20-29 - light green

30-39 - green

40-49 - light blue

50-59 - blue

60-69 - purple

70-79 - pink

80-89 - cyan

90-99 - magenta rgb(207,71,71)

100-104 - orange

105 - dark orange

 

EDIT:

i change it to:

PyaNvs8.png

o4Iox6O.png

Edited by Metin2 Dev
Core X - External 2 Internal
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


  • Activity

    1. 7

      Metin2 2003 Beta Client!!!!!

    2. 32

      Boss Effect Over Head

    3. 1

      Open Source API for Metin2 Server Management - Early Development

    4. 0

      Official Item Combination [18.4]

    5. 2

      Proper SIGNAL management for Windows

    6. 2

      Proper SIGNAL management for Windows

    7. 4

      syserr erorr ( not working OK button on client )

  • Recently Browsing

    • No registered users viewing this page.
×
×
  • 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.