Junior Spellweaver
- Joined
- Jan 25, 2010
- Messages
- 151
- Reaction score
- 16
:/LoL roflmao. Oh well I checked the code and I'll say you placed the tab button( if( nChar == VK_TAB ) ) in the wrong place.
Reupload, please
This thread is no more supported. try to copy to other source.
Where do i actually place it on MoverRender
#ifdef __ARENA_SCORE
//Arena Score
if( GetWorld()->IsArena() && !strcmp( m_szName , g_ArenaScore.m_vecUserInfo[0].szName) );
{
{
pTexture = g_Neuz.m_pHeroIconArena;
if( pTexture )
{
long oldpointx=point.x;
long oldpointy=point.y;
point.y -= pTexture->m_size.cy + 5;
point.y = point.y+1;
//point.x = point.x + 15;
if(pGuild==NULL)
{
point.x -= cs1.cx + 27;
}
else
{
if( cs1.cx > cs2.cx )
{
if(this->GetGuild()->m_dwLogo!=NULL)
{
point.x -= cs1.cx + 52;
}
else
{
point.x -= cs1.cx + 27;
}
}
else
{
if(this->GetGuild()->m_dwLogo!=NULL)
{
point.x -= cs2.cx + 52;
}
else
{
point.x -= cs2.cx + 27;
}
}
}
pTexture->Render( &g_Neuz.m_2DRender, point );
point.x=oldpointx;
point.y=oldpointy;
}
}
#endif
Code:Where do i actually place it on MoverRender #ifdef __ARENA_SCORE //Arena Score if( GetWorld()->IsArena() && !strcmp( m_szName , g_ArenaScore.m_vecUserInfo[0].szName) ); { { pTexture = g_Neuz.m_pHeroIconArena; if( pTexture ) { long oldpointx=point.x; long oldpointy=point.y; point.y -= pTexture->m_size.cy + 5; point.y = point.y+1; //point.x = point.x + 15; if(pGuild==NULL) { point.x -= cs1.cx + 27; } else { if( cs1.cx > cs2.cx ) { if(this->GetGuild()->m_dwLogo!=NULL) { point.x -= cs1.cx + 52; } else { point.x -= cs1.cx + 27; } } else { if(this->GetGuild()->m_dwLogo!=NULL) { point.x -= cs2.cx + 52; } else { point.x -= cs2.cx + 27; } } } pTexture->Render( &g_Neuz.m_2DRender, point ); point.x=oldpointx; point.y=oldpointy; } } #endif
{ //<- delete only THIS!
pTexture = g_Neuz.m_pHeroIconArena;