Re: My Version of HP/AP Bar
Hmm nothing new ;o alot of gunz games has that..
Re: My Version of HP/AP Bar
Some didn't have observer stuff added , thanks qet.
Re: My Version of HP/AP Bar
Re: My Version of HP/AP Bar
Lol George you're finally getting the reputation you deserve.
Re: My Version of HP/AP Bar
Re: My Version of HP&AP Bar
in the end is looks same as all
Re: My Version of HP&AP Bar
Re: My Version of HP&AP Bar
Re: My Version of HP&AP Bar
Re: My Version of HP&AP Bar
Re: My Version of HP/AP Bar
Quote:
Originally Posted by
WizCoder
Lol George you're finally getting the reputation you deserve.
what this simple code
Re: My Version of HP&AP Bar
iDelta123 what line is this?
Code:
void ZCombatInterface::DrawHPAPNumbers(MDrawContext* pDC)
{
ZCharacter* pCharacter = GetTargetCharacter();
if(m_Observer.IsVisible()) return;
if(pCharacter == NULL) return;
if(pCharacter->GetHP() == 0) return;
if(pCharacter->IsDie()) return;
char hp[128];
char ap[128];
MFont *pFont=GetGameFont();
pFont=MFontManager::Get("FONTa10_O2Wht");
pDC->SetFont(pFont);
pDC->SetColor(MCOLOR(0xFFFFFFFF));
sprintf(hp, "HP : %d", (int)pCharacter->GetHP()/*, (int)pCharacter->GetMaxHP()*/);
TextRelative(pDC, 100.f/800.f, 23.f/600.f,hp);
sprintf(ap, "AP : %d", (int)pCharacter->GetAP()/*, (int)pCharacter->GetMaxAP()*/);
TextRelative(pDC, 100.f/800.f, 50.f/600.f,ap);
}
Re: My Version of HP&AP Bar
Re: My Version of HP&AP Bar
Quote:
Originally Posted by
Shadow717
All the same.
what line is that on void pls tell.