HelpHelp

Posts 1–3 of 3 · Page 1 of 1
Help
My last thing was not answered yet , bc i still down know what labels use or codes for the buttons ? and i have no clue were to put the 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);
}

i dont know were to put that ?? got it from one of the people on my last page
omg ^^
Why u ask for it if u dont know how to use it ?
Btw u need a d3d base
no i can make it but when i do the other codes by myself something eles goes in the spot were that one needs to go ....
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