if ((GetAsyncKeyState(VK_SPACE)) && (GetAsyncKeyState(VK _SHIFT)))
The logical operators && and || are used when evaluating two expressions to obtain a single relational result. The operator && corresponds to the Boolean logical operation AND, which yields true if both its operands are true, and false otherwise.
Upcoming hack?
Originally Posted by Trysk
Wrong, its actually :
Code:
if ((GetAsyncKeyState(VK_SPACE)) && (GetAsyncKeyState(VK _SHIFT)))
Aikkk... Why Work ?
Code:
if (GetKeyState(VK_CAPITAL)& 0x8000 && GetKeyState(VK_SPACE)& 0x8000)
or
Code:
if (GetKeyState(VK_CAPITAL)& 0x8000)
{
if ( GetKeyState(VK_SPACE)& 0x8000)
{
//Code
Originally Posted by Minerva
Code:
if (GetKeyState(VK_CAPITAL)& 0x8000 && GetKeyState(VK_SPACE)& 0x8000)
or
Code:
if (GetKeyState(VK_CAPITAL)& 0x8000)
{
if ( GetKeyState(VK_SPACE)& 0x8000)
{
//Code
What Is 0x8000?
Originally Posted by GMs_MonsterDelta
What Is 0x8000?
Flag checking:
flag 0x1 : The key has been pressed since last call to VK_Hotkey
flag 0x8000 : The key is being pressed/held.
For example I hold CAPS and press SPACE in each 3 or 5 seconds, I am assuming that you are using big jump and not the real fly
Originally Posted by Minerva
Flag checking:
flag 0x1 : The key has been pressed since last call to VK_Hotkey
flag 0x8000 : The key is being pressed/held.
I See Thank You
Been over a week since last update/bump, assuming solved.