well.. i was wondering if any of you, can tell me how to change the color of something:
When you are playing, you have your thing that says Aresden Combatant or Elvine Combatant or **** GuildMaster... someone knows how to change the color of this? :S
ty
[reg] a little code :S
Code: Select all
if( bCitizen == FALSE ) strcpy(cTxt, DRAW_OBJECT_NAME60);
else
{
if( bAresden )
{
if( bHunter == TRUE ) {
sR = 0;
sG = 0;
sB = 0;
strcpy(cTxt, DEF_MSG_ARECIVIL);
}
else {
sR = 0;
sG = 0;
sB = 0;
strcpy(cTxt, DEF_MSG_ARESOLDIER);
}
}
else
{
if( bHunter == TRUE ) strcpy(cTxt, DEF_MSG_ELVCIVIL);
else strcpy(cTxt, DEF_MSG_ELVSOLDIER);
}
}
btw,this topic goes client source..
<span style='color:green'>Danny says:u dont know how much u can make from weed ,make any item of clothing. im fucking serious, real good ropes!</span><br><br>Helbreath reborn, be there;)<br>owner of hbr.
where is taht on the client? (srry for posting it in here heh:S ithink was on hgserver src) on game.cpp? ... where?lirannn wrote:not tested but adding sRsGsB should work.Code: Select all
if( bCitizen == FALSE ) strcpy(cTxt, DRAW_OBJECT_NAME60); else { if( bAresden ) { if( bHunter == TRUE ) { sR = 0; sG = 0; sB = 0; strcpy(cTxt, DEF_MSG_ARECIVIL); } else { sR = 0; sG = 0; sB = 0; strcpy(cTxt, DEF_MSG_ARESOLDIER); } } else { if( bHunter == TRUE ) strcpy(cTxt, DEF_MSG_ELVCIVIL); else strcpy(cTxt, DEF_MSG_ELVSOLDIER); } }
btw,this topic goes client source..
Select the search entire solution/project >.>
<img src='http://www.helbreathx.net/sig/sig.jpeg' border='0' alt='user posted image' /><br><a href='http://mafia.cheats4us.org/index.php?x=231030' target='_blank'>#1 on Mafia
</a><br><!--QuoteBegin-Slipknight+--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (Slipknight)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->100mb Internet, burstable too 10GB oc192<br>his speed can go up too 10gbs<br>...<br>Yes my car can have a top speed of 1000mph<!--QuoteEnd--></td></tr></table><div class='signature'><!--QuoteEEnd--><br>^^ I wonder where the retard went to.
