Credits:Code:if((DWORD) _ReturnAddress() == 0x75FABC) { pDevice->SetRenderState(D3DRS_ZENABLE, FALSE); pDevice->SetPixelShader(sa.sPink); oDrawIndexedPrimitive( pDevice, PrimType, BaseVertexIndex, MinVertexIndex, NumVertices, startIndex, primCount ); pDevice->SetRenderState(D3DRS_ZENABLE, TRUE); pDevice->SetPixelShader(sa.sYellow); } ]
Smoochy