[Help] Menu

Posts 115 of 22 · Page 1 of 2
[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?
Lol you dont know what x axis and y axis is?
x= left to right
y= up and down
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);
GetSystemMetrics(SM_CXSCREEN) < width
GetSystemMetrics(SM_CYSCREEN) < height
Oh I see. That makes more sense. Because you're pro and all and to not know x axis and y axis?
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
[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
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
Quote Originally Posted by flameswor10 View Post
Thanks guys xD
Anytime. BTW, who's chams are you using?
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
@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?
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
Nice Flames, you have 90% full telekill
if(Hack.Chams == 0){
Hack.Chams ++;
}else{
Hack.Chams --;
}

you can do

if(Hack.Chams) {
Hack.Chams = !Hack.Chams;
}
Posts 115 of 22 · Page 1 of 2

Post a Reply

Tags for this Thread

None

Need help?