[Source] Circle Reticle

Posts 115 of 23 · Page 1 of 2
[Source] Circle Reticle
Hello Mpgh this is my Circle Reticle source code.

Now you can C&P this code it is not missing anything very noob friendly

[php]
ID3DXLine *pLine;
#define PI 3.14159265

void DrawCircle(int X, int Y, int radius, int numSides, DWORD Color)
{
D3DXVECTOR2 Line[128];
float Step = PI * 2.0 / numSides;
int Count = 0;
for (float a=0; a < PI*2.0; a += Step)
{
float X1 = radius * cos(a) + X;
float Y1 = radius * sin(a) + Y;
float X2 = radius * cos(a+Step) + X;
float Y2 = radius * sin(a+Step) + Y;
Line[Count].x = X1;
Line[Count].y = Y1;
Line[Count+1].x = X2;
Line[Count+1].y = Y2;
Count += 2;
}
pLine->Begin();
pLine->Draw(Line,Count,Color);
pLine->End();
}

if( Menu.mOpt[1].nopt > 0 ){
DrawCircle(iCenterX,iCenterY,10,50,D3DCOLOR_ARGB( 255, 255 , 0 ,0));
D3DCOLOR xcolor = D3DCOLOR_ARGB( 255, 255, 0, 0 );

int size = 15, strong = 1;
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]

You can also throw a DisableCrosshair PTC in their if you want

What this will look like is.



Dont forget to +Rep and Thanks and credit
Damn.. I see everyone with the same menu.
A new source was released. tell me site now.
Its Gellins old menu....
Quote Originally Posted by Stephen View Post
Its Gellins old menu....
Yes almost everyone uses it lol
You dont deserve any credits.
give credit to person who made the function..
Quote Originally Posted by ipwnuuaal5 View Post
You dont deserve any credits.
give credit to person who made the function..
Noob Did i say this is mine noooooooooo
Did i take any credits noooooooooo
You need to gtfo yeeeeeeessssssssss
Quote Originally Posted by C00lGuy View Post
Noob Did i say this is mine noooooooooo
Did i take any credits noooooooooo
You need to gtfo yeeeeeeessssssssss
But you didn't give credits either /
"Hello Mpgh this is my Circle Reticle source code."



Yep, i see nothing at all that refers to insinuating that this is your source.
You clearly took no credit for it! I mean look at your post, only a moron would think you were taking credit!

need to leave
Quote Originally Posted by Alen View Post
But you didn't give credits either /
i dont even know who actually coded this someone gave it to me
Quote Originally Posted by C00lGuy View Post
I do have Hans too but Gellins is so much more appealing
As in, one made from scratch xD
Lol, mine will be the only one with a non-standard menu when i finally release it
Quote Originally Posted by freedompeace View Post
Lol, mine will be the only one with a non-standard menu when i finally release it
I do have Hans too but Gellins is so much more appealing
Quote Originally Posted by GameTrainerMaker View Post
since i was the first to thank you
To which post was that a reply to? :L
game crash... it not works for me
Posts 115 of 23 · Page 1 of 2
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Need help?