SolvedCrossHair Codes

Posts 1–3 of 3 · Page 1 of 1
CrossHair Codes
Anybody know the Cross Hair Codes ANd The Accessories
crosshair code :

Code:
if (crosshair){
		int x = ( GetSystemMetrics( 0 ) / 2-1);
		int y = ( GetSystemMetrics( 1 ) / 2-1);
		
		D3DRECT reca = { x - 10, y, x + 10, y + 1};
		D3DRECT recb = { x, y - 10, x + 1, y + 10};
		pDevice->Clear(1, &reca, D3DCLEAR_TARGET, D3DCOLOR_ARGB(255,0,0,255), 0, 0);
		pDevice->Clear(1, &recb, D3DCLEAR_TARGET, D3DCOLOR_ARGB(255,0,0,255), 0, 0);
		D3DRECT rece = { x - 7, y, x + 7, y + 1};
		D3DRECT recf = { x, y - 7, x + 1, y + 7};
		pDevice->Clear(1, &rece, D3DCLEAR_TARGET, D3DCOLOR_ARGB(255,0,255,0), 0, 0);
		pDevice->Clear(1, &recf, D3DCLEAR_TARGET, D3DCOLOR_ARGB(255,0,255,0), 0, 0);
		D3DRECT recg = { x - 5, y, x + 5, y + 1};
		D3DRECT rech = { x, y - 5, x + 1, y + 5};
		pDevice->Clear(1, &recg, D3DCLEAR_TARGET, D3DCOLOR_ARGB(255,255,255,0), 0, 0);
		pDevice->Clear(1, &rech, D3DCLEAR_TARGET, D3DCOLOR_ARGB(255,255,255,0), 0, 0);
		}
press thanks if me helped
Answered, closed.
Posts 1–3 of 3 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Talk with us