Hello, I am trying to make wallhack for a new game called War Inc Battlezone. I have them working to some extent, but there seems to be a problem with the z-buffer. Some objects don't allow the character to be seen behind (as seen in my screen, Makaan's mesh can't be seen). I have tried everything that I can think of. I know some of the code below might not be needed. Any help or tips would be appreciated.

My code:
Code:
pDevice->GetRenderState(D3DRS_ZENABLE, &z);
pDevice->SetRenderState(D3DRS_ZENABLE,false);
pDevice->SetRenderState(D3DRS_ZWRITEENABLE,false);
pDevice->SetRenderState(D3DRS_ZFUNC, D3DCMP_ALWAYS  );
pDevice->SetRenderState( D3DRS_FILLMODE,D3DFILL_SOLID );
pDevice->SetRenderState(D3DRS_AMBIENT,D3DCOLOR_XRGB(255,0,0));
pDevice->SetTexture(0,texRed);
pDrawIndexedPrimitive(pDevice, Type, BaseVertexIndex, MinVertexIndex, NumVertices, startIndex, primCount);
pDevice->SetRenderState(D3DRS_ZENABLE, z);
pDevice->SetRenderState(D3DRS_ZWRITEENABLE,true);
pDevice->SetRenderState(D3DRS_ZFUNC, D3DCMP_LESSEQUAL);
return pDrawIndexedPrimitive(pDevice, Type, BaseVertexIndex, MinVertexIndex, NumVertices, startIndex, primCount);