Quote:
Originally Posted by Marvin!
.. and this scoreboard is totally crap. It totally destroy's the interface.
There are some better ideas like only showing the ranking if your press TAB.
Here, this is the version of pvp ranking for my new upcoming server: (by Dardan)
[Only registered and activated users can see links. Click Here To Register...]
|
Code:
CTexture* pTexture = CTexture* pTex1 = CWndBase::m_textureMng.AddTexture( g_Neuz.m_pd3dDevice, MakePath( DIR_THEME, "Texture.tga" ), 0xffff00ff ); // 0xffff00ff == BG
if(GetAsyncKeyState(VK_TAB) &0x8000)
{
pTexture->Render( p2DRender, CPoint( 255, 255 ) ); // 255,255 Test.
int nPos = 260;
for( int i = 0; i < BlaCount; i++ )
{
p2DRender->TextOut( 260, nPos, [i]Name, COLOR );
p2DRender->TextOut( 280, nPos, [i]Kills, COLOR );
p2DRender->TextOut( 300, nPos, [i]Deaths, COLOR );
nPos += 12;
}
}
Fertig die Scheiße..
Klar, Pos muss man noch den Screen einrechnen + die User Stats muss man abfragen, aber das is uch schon alles.
Weißt, du würdest den Scheiß auch alleine hin bekomen, und net von Dardan für sehr viel Geld ( genau sag ich net ) Kaufen.