c++ d3d9 draw line
Can anyone help me draw a simple line from point a to point b? is it possible to draw a line via numvert and privcount instead of having to find player class? reason i want to draw a line is because this game blocks paint = chams i don't know how to bypass it, so i would like to do a little like crosshair like stick a X on the target if possible. If possible again i would like to do this without having to find player class because i never done that no idea how to do it. so if possible i want to draw a X on the target from the following below.
Code:
#define German_1 ((Stride == 32))
#define German German_1
if (German) {
if (_Features[0]) {
pDevice->SetRenderState(D3DRS_ZENABLE, false);
pDevice->SetRenderState(D3DRS_FILLMODE, D3DFILL_SOLID);
pDevice->SetTexture(0, GreenTex);
oDrawIndexedPrimitive(pDevice, Type, BaseVertexIndex, MinVertexIndex, NumVertices, startIndex, PrimitiveCount);
pDevice->SetRenderState(D3DRS_ZENABLE, true);
pDevice->SetRenderState(D3DRS_FILLMODE, D3DFILL_SOLID);
pDevice->SetTexture(0, RedTex);
}
}
