I might put this into my hotkey hack, is there a problem?
I might put this into my hotkey hack, is there a problem?
This is how you would add it to your menu hack And this is in topblasts menu GUI 1.0 so give credits.
And the color is set to red it is basic RGB so it is easy to change.
[php]
LPDIRECT3DDEVICE9 pDevice = NULL;
void FillColor( int x, int y, int w, int h, D3DCOLOR color, IDirect3DDevice9* pDevice )
{
if( w < 0 )w = 1;
if( h < 0 )h = 1;
if( x < 0 )x = 1;
if( y < 0 )y = 1;
D3DRECT rec = { x, y, x + w, y + h };
pDevice->Clear( 1, &rec, D3DCLEAR_TARGET, color, 0, 0 );
}
if( Menu.mOpt[1].nopt > 0 ){
D3DCOLOR xcolor = D3DCOLOR_ARGB( 255, 255, 0, 0 );
int size = 25, strong = 3;
int iCenterX = GetSystemMetrics( 0 ) / 2;
int iCenterY = GetSystemMetrics( 1 ) / 2;
if( iCenterX < 20 && iCenterY < 20 )
{
iCenterX = ( GetSystemMetrics( 0 ) / 2 );
iCenterY = ( GetSystemMetrics( 1 ) / 2 );
}
D3DRECT rec2 = { iCenterX- size, iCenterY, iCenterX+ size, iCenterY+ strong};
D3DRECT rec3 = { iCenterX, iCenterY- size, iCenterX+ strong,iCenterY+ size};
pDevice->Clear(1, &rec2, D3DCLEAR_TARGET, xcolor, 0, 0);
pDevice->Clear(1, &rec3, D3DCLEAR_TARGET, xcolor, 0, 0);
}[/php]
Last edited by coryster2100; 07-27-2010 at 05:28 PM.
Bro Whit i just gave him the whole code
Unknown werent you banned lol
Last edited by coryster2100; 07-27-2010 at 06:50 PM.
No, I was just banned for bypassing the approval system