Page 1 of 2 12 LastLast
Results 1 to 15 of 23
  1. #1
    C00lGuy's Avatar
    Join Date
    Aug 2010
    Gender
    male
    Posts
    136
    Reputation
    16
    Thanks
    304
    My Mood
    Busy

    [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
    Last edited by C00lGuy; 08-27-2010 at 10:53 PM.

  2. The Following 4 Users Say Thank You to C00lGuy For This Useful Post:

    D e a t h h a u n t S (08-29-2010),GameTrainerMaker (08-27-2010),speedforyou (08-27-2010),tempta43 (08-29-2010)

  3. #2
    ipwnuuaal5's Avatar
    Join Date
    Mar 2010
    Gender
    male
    Posts
    275
    Reputation
    16
    Thanks
    33
    Damn.. I see everyone with the same menu.
    A new source was released. tell me site now.

  4. #3
    Stephen's Avatar
    Join Date
    Jun 2009
    Gender
    male
    Location
    Engine.exe
    Posts
    4,689
    Reputation
    184
    Thanks
    1,149
    My Mood
    Aggressive
    Its Gellins old menu....

  5. #4
    C00lGuy's Avatar
    Join Date
    Aug 2010
    Gender
    male
    Posts
    136
    Reputation
    16
    Thanks
    304
    My Mood
    Busy
    Quote Originally Posted by Stephen View Post
    Its Gellins old menu....
    Yes almost everyone uses it lol

  6. #5
    ipwnuuaal5's Avatar
    Join Date
    Mar 2010
    Gender
    male
    Posts
    275
    Reputation
    16
    Thanks
    33
    You dont deserve any credits.
    give credit to person who made the function..

  7. #6
    C00lGuy's Avatar
    Join Date
    Aug 2010
    Gender
    male
    Posts
    136
    Reputation
    16
    Thanks
    304
    My Mood
    Busy
    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

  8. #7
    freedompeace's Avatar
    Join Date
    Jul 2010
    Gender
    female
    Posts
    3,033
    Reputation
    340
    Thanks
    2,792
    My Mood
    Sad
    Lol, mine will be the only one with a non-standard menu when i finally release it

  9. #8
    C00lGuy's Avatar
    Join Date
    Aug 2010
    Gender
    male
    Posts
    136
    Reputation
    16
    Thanks
    304
    My Mood
    Busy
    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

  10. #9
    Alen's Avatar
    Join Date
    Oct 2007
    Gender
    male
    Location
    Liquid Generator
    Posts
    27,920
    Reputation
    2548
    Thanks
    4,224
    My Mood
    Fine
    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 /

  11. #10
    dethharmonic15's Avatar
    Join Date
    May 2010
    Gender
    male
    Posts
    36
    Reputation
    4
    Thanks
    7
    "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

  12. #11
    C00lGuy's Avatar
    Join Date
    Aug 2010
    Gender
    male
    Posts
    136
    Reputation
    16
    Thanks
    304
    My Mood
    Busy
    Quote Originally Posted by μ View Post
    But you didn't give credits either /
    i dont even know who actually coded this someone gave it to me

  13. #12
    freedompeace's Avatar
    Join Date
    Jul 2010
    Gender
    female
    Posts
    3,033
    Reputation
    340
    Thanks
    2,792
    My Mood
    Sad
    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

  14. #13
    GameTrainerMaker's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Posts
    465
    Reputation
    17
    Thanks
    514
    since i was the first to thank you

  15. #14
    freedompeace's Avatar
    Join Date
    Jul 2010
    Gender
    female
    Posts
    3,033
    Reputation
    340
    Thanks
    2,792
    My Mood
    Sad
    Quote Originally Posted by GameTrainerMaker View Post
    since i was the first to thank you
    To which post was that a reply to? :L

  16. #15
    coogle007's Avatar
    Join Date
    Dec 2009
    Gender
    male
    Posts
    267
    Reputation
    18
    Thanks
    297
    My Mood
    Aggressive
    game crash... it not works for me

Page 1 of 2 12 LastLast

Similar Threads

  1. CS Source Clan/Server
    By Dave84311 in forum General
    Replies: 20
    Last Post: 10-04-2006, 12:21 PM
  2. HALO 2 (XBOX) Source Code
    By mirelesmichael in forum General Game Hacking
    Replies: 12
    Last Post: 09-23-2006, 04:35 AM
  3. Counter Strike: Source
    By Flawless in forum CounterStrike (CS) 1.6 Hacks / Counter Strike: Source (CSS) Hacks
    Replies: 15
    Last Post: 06-03-2006, 08:28 PM