[Function] DrawRadar [Release]
DrawRadar
Made By DeadLine

Here is a function that i made for my ESP Radar im making.
Please Give Credits if i Helped You.
DrawRadar Function:
Parameters:
X-
This is the X position Value of your Radar.
Y-
This is the Y position Value of your Radar.
Size-
This is the Size of your Radar.
IDirect3DDevice9* pDevice-
This is your D3D Device.
Other Functions Needed:
Note: i only made the "DrawRadar" Function, i did not make these other Functions.
Please Give Thanks if You Used This
Made By DeadLine

Here is a function that i made for my ESP Radar im making.
Please Give Credits if i Helped You.
DrawRadar Function:
Code:
void DrawRadar( int X, int Y, int Size, IDirect3DDevice9* pDevice )
{
DrawBox( (X+5), (Y+5), (Size-10), (Size-10), D3DCOLOR_ARGB( 255, 0, 0, 0 ), D3DCOLOR_ARGB( 255, 184, 184, 184 ), pDevice );
FillARGB( (X+(Size/2)), (Y+6), 1, (Size-12), D3DCOLOR_ARGB( 255, 0, 255, 0 ), pDevice );
FillARGB( (X+6), (Y+(Size/2)), (Size-12), 1, D3DCOLOR_ARGB( 255, 0, 255, 0 ), pDevice );
}
X-
This is the X position Value of your Radar.
Y-
This is the Y position Value of your Radar.
Size-
This is the Size of your Radar.
IDirect3DDevice9* pDevice-
This is your D3D Device.
Other Functions Needed:
Code:
void FillRGB( 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 );
}
void FillARGB( int x, int y, int w, int h, D3DCOLOR color, IDirect3DDevice9* pDevice )
{
FillRGB( x, y, w, h, color, pDevice );
}
Please Give Thanks if You Used This




