d3d9 Help?

01/19/2010 21:15 Salson#1
I need help on Operation 7 EU my chames are bugged

Wehn i take it one, the Gun/Scope is full with the Chames so u cant sniping -.- anyone can help me? PLZ :D

My code (not full only define and my chames code):


Code:
#define Player ((uiStride == 28))


if (chams == 1)
{
    if(Player)
    {

            pDevice->SetRenderState(D3DRS_ZENABLE,false);         
            pDevice->SetRenderState(D3DRS_FILLMODE,D3DFILL_SOLID);        
            pDevice->SetTexture( 0, texBlue);  
            oDrawIndexedPrimitive(pDevice, dType, nBaseIndex, uiMinIndex, uiNumVerts, uiStartIndex, uiPrimCount);
            pDevice->SetRenderState(D3DRS_ZENABLE, true);
            pDevice->SetRenderState(D3DRS_FILLMODE,D3DFILL_SOLID);
            pDevice->SetTexture( 0, texcyan); 
    }
}
TY if u help me :D

I give u a Big THX!


Bei Operation7 Sobald ich mein eigenes chames anmache, ist die waffe auch mit chames und das ist das problem und ich finde keinen ausweg! Kann mir jemand helfen.

Also wenn ich rechtsklick mache bei einer waffe, dann sehe ich das scope nicht und auch nicht durch! weil alls grün ist -.- oder blau oder lila komm je drauf an. Pls help if u can :D

Code:
#define Player ((uiStride == 28))


if (chams == 1)
{
    if(Player)
    {

            pDevice->SetRenderState(D3DRS_ZENABLE,false);         
            pDevice->SetRenderState(D3DRS_FILLMODE,D3DFILL_SOLID);        
            pDevice->SetTexture( 0, texBlue);  
            oDrawIndexedPrimitive(pDevice, dType, nBaseIndex, uiMinIndex, uiNumVerts, uiStartIndex, uiPrimCount);
            pDevice->SetRenderState(D3DRS_ZENABLE, true);
            pDevice->SetRenderState(D3DRS_FILLMODE,D3DFILL_SOLID);
            pDevice->SetTexture( 0, texcyan); 
    }
}

BEkommst n thx wenn du mir Hilfst ^^
01/20/2010 12:30 Ende!#2
Ist dann der gesamte Bildschirm in der Farbe wenn du ranzoomst?