Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

Source problem :)

Joined
Oct 2, 2010
Messages
1,758
Reaction score
226
How to align the text on the middle?

CNDev - Source problem :) - RaGEZONE Forums


how to change the color of [x]Twoo? because its too dark :) i want to make it lighter hehehe


CNDev - Source problem :) - RaGEZONE Forums


THANKS IN ADVANCE :eek:tt: :eek:tt: :eek:tt:
 
Joined
Mar 20, 2012
Messages
760
Reaction score
369
Thnx for inbox me the files. to change the color :

1. Open BasicTextBox.cpp

2. Find :
Code:
sTextWord.strWord = MLText[i].strLine.Mid ( strText.strHeader.GetLength() + 1, strText.strName.GetLength() - 2 );
sTextWord.dwColor = D3DCOLOR_ARGB([COLOR="#FF0000"]0xFF,0x00,0x26,0xFF[/COLOR]);
m_pFont->GetTextExtent ( sTextWord.strWord.GetString(), strSize );
sTextWord.strSize = strSize;


3. Change 0xFF,0x00,0x26,0xFF to other color code.

example :

If u want change to lightcyan color, replace 0xFF,0x00,0x26,0xFF with 0xFF,0xE0,0xFF,0xFF


good luck :)
 
Last edited:
Upvote 0
Back
Top