See players' HP
#1

Hi guys, this question is how to make sure that you always see the HP players

#2
case CHARACTER:
{
// if( m_bShowPkHp ) //comment this
{
// ¼­Ä¡ ¶óÀÌÇÁ ¹öÇÁ°¡ ÀÖ´ÂÁö °Ë»ç.
// if (_pUIBuff->IsSkillBuff(475) == TRUE) //comment this
{
float fHealth = 0;

if (pInfo->GetTargetEntity(eTARGET) != NULL &&
pInfo->GetTargetServerIdx(eTARGET) == _pNetwork->MyCharacterInfo.index)
{
fHealth = _pNetwork->MyCharacterInfo.hp;
}
else
{
fHealth = pInfo->GetTargetCurHP(eTARGET);
}

strHp.PrintF("%d",(int)fHealth);
bHideHpString = FALSE;
m_bShowHpBar = TRUE;
}
}

Comment out the 2 lines where i wrote "//comment this" at the end in the file TargetInfoNewUI.cpp, I think that should be enough

#3

Thanks for the answer, it works, close the topic



Forum Jump:


Users browsing this thread: 1 Guest(s)