You must register to post or download hacks.
If you are having any issues, shoot us an email, Contact MPGH Support. As always, have fun and enjoy your stay! - MPGH Staff
As The Title Says :P
What ? Is this a question or source ?(Prefix = Info)
Last edited by Lovroman; 08-26-2013 at 05:56 AM.
Originally Posted by Lovroman What ? Is this a question or source ?(Prefix = Info) I Mean how can i map the keys in c++ ???
Originally Posted by BCxSocial(B) I Mean how can i map the keys in c++ ??? Use GetAsyncKeyState. Code: if(GetAsyncKeyState(VK_UP) & 0x8000) //Is key Up pressed { //Do something }
if(GetAsyncKeyState(VK_UP) & 0x8000) //Is key Up pressed { //Do something }
Originally Posted by Lovroman Use GetAsyncKeyState. Code: if(GetAsyncKeyState(VK_UP) & 0x8000) //Is key Up pressed { //Do something } Thanks I Will Try it Later but that "0x8000" is what ????
Originally Posted by BCxSocial(B) Thanks I Will Try it Later but that "0x8000" is what ???? "Is key is pressed".
Originally Posted by Lovroman Use GetAsyncKeyState. Code: if(GetAsyncKeyState(VK_UP) & 0x8000) //Is key Up pressed { //Do something } ok That's the Value and its Wrong -_- Value of VK_UP is 0x26
Originally Posted by BCxSocial(B) ok That's the Value and its Wrong -_- Value of VK_UP is 0x26 Fail. 0x8000 isn't key value. 0x8000 is always same.
Originally Posted by Lovroman Fail. 0x8000 isn't key value. 0x8000 is always same. ok let me Try :/
Originally Posted by Lovroman Fail. 0x8000 isn't key value. 0x8000 is always same. How to Combine 2 keys ??? For eg ctrl + enter.... like that should be the syntex ???
Originally Posted by BCxSocial(B) How to Combine 2 keys ??? For eg ctrl + enter.... like that should be the syntex ??? if(GetAsyncKeyState(VK_CONTROL) & GetAsyncKeyState(VK_ENTER) & 0x8000) { }
Originally Posted by Lovroman if(GetAsyncKeyState(VK_CONTROL) & GetAsyncKeyState(VK_ENTER) & 0x8000) { } Thankx /msg2short :P
Originally Posted by BCxSocial(B) Thankx /msg2short :P Didnt work for me o.o
Originally Posted by ^peace Didnt work for me o.o Try using this instead: Code: if(GetAsyncKeyState(VK_CONTROL) && GetAsyncKeyState(VK_ENTER)) { // do something } Also, I don't see why 0x8000 is needed.
if(GetAsyncKeyState(VK_CONTROL) && GetAsyncKeyState(VK_ENTER)) { // do something }
Originally Posted by xVIRUZx Try using this instead: Code: if(GetAsyncKeyState(VK_CONTROL) && GetAsyncKeyState(VK_ENTER)) { // do something } Also, I don't see why 0x8000 is needed. Me too :/ /Msg2Short