LCKB
See players' HP - Printable Version

+- LCKB (https://lckb.dev/forum)
+-- Forum: ** OLD LCKB DATABASE ** (https://lckb.dev/forum/forumdisplay.php?fid=109)
+--- Forum: Guides & Help Section (https://lckb.dev/forum/forumdisplay.php?fid=193)
+---- Forum: Help & Support (https://lckb.dev/forum/forumdisplay.php?fid=157)
+----- Forum: Ep4 Support (https://lckb.dev/forum/forumdisplay.php?fid=128)
+----- Thread: See players' HP (/showthread.php?tid=4920)



- JLT - 05-13-2022


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




- Desarija - 05-13-2022

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




- JLT - 05-14-2022


Thanks for the answer, it works, close the topic