Thread: [Help] Menu

Page 1 of 2 12 LastLast
Results 1 to 15 of 22
  1. #1
    flameswor10's Avatar
    Join Date
    Jul 2009
    Gender
    male
    Posts
    12,528
    Reputation
    981
    Thanks
    10,409
    My Mood
    In Love

    [Help] Menu

    Hey, I'm working on my OWN menu/Hotkey Base and I need help with something.

    Code:
    int MenuX = GetSystemMetrics( 0 );
    int MenuY = GetSystemMetrics( 1 );
    Which one is Width and which one is Height.

    And also, if i Do this
    Code:
    if(Hack.Chams == 0){
    Hack.Chams ++;
    }else{
    Hack.Chams --;
    }
    That means that if Chams = off then it turns on. And Vice Versa correct?
    Last edited by flameswor10; 03-04-2011 at 07:48 PM.
    No I do not make game hacks anymore, please stop asking.

  2. #2
    CA_'s Avatar
    Join Date
    Jan 2011
    Gender
    male
    Location
    Earth
    Posts
    170
    Reputation
    10
    Thanks
    49
    My Mood
    Hungover
    Lol you dont know what x axis and y axis is?
    x= left to right
    y= up and down
    Capitals letters are the difference between
    "I helped my uncle Jack off a horse."
    and
    "I helped my uncle jack off a horse."
    See the difference?




    So pro...^^^

  3. #3
    flameswor10's Avatar
    Join Date
    Jul 2009
    Gender
    male
    Posts
    12,528
    Reputation
    981
    Thanks
    10,409
    My Mood
    In Love
    Quote Originally Posted by CA_ View Post
    Lol you dont know what x axis and y axis is?
    I need screen Width and Height. (to make it universal in different Resolution).

    so if someone\s screen is 600 x 800 and another dudes is 1024 x 768 then I can just use 1 menu instead of create different versions for different computer Screen resolutions.

    So I can just do this?
    Code:
    DrawBox( 0, 0, MenuX, MenuY, D3DCOLOR_ARGB(150, 0, 0, 0), Blue, pDevice);
    Last edited by flameswor10; 03-04-2011 at 07:50 PM.
    No I do not make game hacks anymore, please stop asking.

  4. #4
    Grim's Avatar
    Join Date
    Jul 2009
    Gender
    male
    Posts
    5,359
    Reputation
    112
    Thanks
    3,786
    My Mood
    Cynical
    GetSystemMetrics(SM_CXSCREEN) < width
    GetSystemMetrics(SM_CYSCREEN) < height
    Want to see my programs?
    \/ CLICK IT BITCHES \/

  5. The Following User Says Thank You to Grim For This Useful Post:

    flameswor10 (03-04-2011)

  6. #5
    CA_'s Avatar
    Join Date
    Jan 2011
    Gender
    male
    Location
    Earth
    Posts
    170
    Reputation
    10
    Thanks
    49
    My Mood
    Hungover
    Oh I see. That makes more sense. Because you're pro and all and to not know x axis and y axis?
    Capitals letters are the difference between
    "I helped my uncle Jack off a horse."
    and
    "I helped my uncle jack off a horse."
    See the difference?




    So pro...^^^

  7. #6
    flameswor10's Avatar
    Join Date
    Jul 2009
    Gender
    male
    Posts
    12,528
    Reputation
    981
    Thanks
    10,409
    My Mood
    In Love
    Quote Originally Posted by CA_ View Post
    Oh I see. That makes more sense. Because you're pro and all and to not know x axis and y axis?
    Shut the fk up cause I was confused with GetSystemMetrics(1) << Didn't know what 1 was
    No I do not make game hacks anymore, please stop asking.

  8. #7
    Grim's Avatar
    Join Date
    Jul 2009
    Gender
    male
    Posts
    5,359
    Reputation
    112
    Thanks
    3,786
    My Mood
    Cynical
    [FONT="Papyrus"][SIZE="3"]
    Quote Originally Posted by CA_ View Post
    Oh I see. That makes more sense. Because you're pro and all and to not know x axis and y axis?

    dont be a douche.

    anyway.. you want to do
    Code:
    int MenuY = GetSystemMetrics(SM_CYSCREEN)
    int MenuYpos = MenuY / 2


    and include <cmath>

    also use () around your math
    Last edited by Grim; 03-04-2011 at 07:55 PM.
    Want to see my programs?
    \/ CLICK IT BITCHES \/

  9. The Following User Says Thank You to Grim For This Useful Post:

    flameswor10 (03-04-2011)

  10. #8
    CAFlames's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Location
    Where ever my imagination takes me
    Posts
    3,006
    Reputation
    202
    Thanks
    2,944
    My Mood
    Twisted
    Your Screen thing is correct. The first is X (left to right) The second is Y (ZUp to down)

    to get center just divide by 2.

    and to turn chams on u do ++ off is --.


    or u can do ==1 or ==0.
    or true or false
    or >0 or =0 lol

    Current Works:
    ---Horror Game





    [IMG]https://i645.photobucke*****m/albums/uu180/drgnforce9/Siggys/signature3.jpg[/IMG]
    Special thanks to drgnforce9 for my sig picture

    Quote Originally Posted by m_t_h View Post

    CAflames is one epic coder.

    Rep and thanks him.. or you're perma banned.

  11. The Following User Says Thank You to CAFlames For This Useful Post:

    flameswor10 (03-04-2011)

  12. #9
    flameswor10's Avatar
    Join Date
    Jul 2009
    Gender
    male
    Posts
    12,528
    Reputation
    981
    Thanks
    10,409
    My Mood
    In Love
    Thanks guys xD
    No I do not make game hacks anymore, please stop asking.

  13. #10
    CAFlames's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Location
    Where ever my imagination takes me
    Posts
    3,006
    Reputation
    202
    Thanks
    2,944
    My Mood
    Twisted
    Quote Originally Posted by flameswor10 View Post
    Thanks guys xD
    Anytime. BTW, who's chams are you using?

    Current Works:
    ---Horror Game





    [IMG]https://i645.photobucke*****m/albums/uu180/drgnforce9/Siggys/signature3.jpg[/IMG]
    Special thanks to drgnforce9 for my sig picture

    Quote Originally Posted by m_t_h View Post

    CAflames is one epic coder.

    Rep and thanks him.. or you're perma banned.

  14. #11
    NextGen1's Avatar
    Join Date
    Dec 2009
    Gender
    male
    Location
    Not sure really.
    Posts
    6,312
    Reputation
    382
    Thanks
    3,019
    My Mood
    Amazed
    @Grim where have you been hiding, don't think I have seen you for ages.

    @CA_ - play nice.

    @flameswor10 - Give up on C++ help over in programming section?


     


     


     



    The Most complete application MPGH will ever offer - 68%




  15. The Following User Says Thank You to NextGen1 For This Useful Post:

    whit (03-04-2011)

  16. #12
    Grim's Avatar
    Join Date
    Jul 2009
    Gender
    male
    Posts
    5,359
    Reputation
    112
    Thanks
    3,786
    My Mood
    Cynical
    Quote Originally Posted by NextGen1 View Post
    @Grim where have you been hiding, don't think I have seen you for ages.

    @CA_ - play nice.

    @flameswor10 - Give up on C++ help over in programming section?
    been around.. just recently got internet at my new place, so i'm able to get back on frequently again.. i've had my head racked in CA bases for a little while now, tryin to get back into coding, which is more difficult since i didnt know much to begin with LOL
    Want to see my programs?
    \/ CLICK IT BITCHES \/

  17. #13
    Alessandro10's Avatar
    Join Date
    Oct 2010
    Gender
    male
    Location
    MPGH.NET
    Posts
    6,140
    Reputation
    215
    Thanks
    4,607
    My Mood
    Busy
    Nice Flames, you have 90% full telekill

  18. #14
    flameswor10's Avatar
    Join Date
    Jul 2009
    Gender
    male
    Posts
    12,528
    Reputation
    981
    Thanks
    10,409
    My Mood
    In Love
    Quote Originally Posted by CAFlames View Post


    Anytime. BTW, who's chams are you using?
    O.o
    What other chams are there

    @NextGen1
    C++ help in Programming Section takes too long for answers
    Last edited by flameswor10; 03-04-2011 at 08:58 PM.
    No I do not make game hacks anymore, please stop asking.

  19. The Following User Says Thank You to flameswor10 For This Useful Post:

    topblast (03-05-2011)

  20. #15
    Nubzgetkillz's Avatar
    Join Date
    Sep 2010
    Gender
    male
    Location
    hacktown
    Posts
    838
    Reputation
    13
    Thanks
    411
    My Mood
    Amazed
    if(Hack.Chams == 0){
    Hack.Chams ++;
    }else{
    Hack.Chams --;
    }

    you can do

    if(Hack.Chams) {
    Hack.Chams = !Hack.Chams;
    }

    Member since September 25, 2010

    Current Objectives:
    • Graduate college with a degree in Computer Science
    • Find a decent job in the Computer Science Field
    • Learn more programming languages

    Looking for Elo Boosting Job - League of Legends
    Looking for Bronze -> Gold Jobs


    Skype: whatthedream

Page 1 of 2 12 LastLast