Most PTC commands don't work. You can use D3D to draw a crosshair though, this is straight from my hack :
Code:
//Allocate memory
ID3DXLine *p_line = NULL;
D3DVIEWPORT9 oViewport;
//Create it (need to hook to do this)
D3DXCreateLine(pDevice, &p_line);
pDevice->GetViewport(&oViewport);
//Draw it using this function (From another source but I forgot who made)
void DrawLine(float x, float y, float x2, float y2, float width, DWORD color)
{
D3DXVECTOR2 vLine[2];
p_line->SetWidth( width );
p_line->SetAntialias( false );
p_line->SetGLLines( true );
vLine[0].x = x;
vLine[0].y = y;
vLine[1].x = x2;
vLine[1].y = y2;
p_line->Begin( );
p_line->Draw( vLine, 2, color );
p_line->End( );
}
DrawLine((float)(oViewport.Width / 2) - 10, (float)(oViewport.Height / 2), (float)(oViewport.Width / 2) + 10, (float)(oViewport.Height / 2), 1, D3DCOLOR_XRGB(255, 0, 0));
DrawLine((float)(oViewport.Width / 2), (float)(oViewport.Height / 2) - 10, (float)(oViewport.Width / 2), (float)(oViewport.Height / 2) + 10, 1, D3DCOLOR_XRGB(255, 0, 0));