[C++] Toggle
bool AutoShoot=false;
bool Toggle = false;
bool Toggle = false;
if (KeyPressed == VK_F6)
{
if(Toggle)
{
AutoShoot=true;
}
else
{
AutoShoot=false;
}
}
{
if(Toggle)
{
AutoShoot=true;
}
else
{
AutoShoot=false;
}
}
bool bValue = true;
if (!bValue)
cout << "The if statement was true" << endl;
else
cout << "The if statement was false" << endl;
if (!bValue)
cout << "The if statement was true" << endl;
else
cout << "The if statement was false" << endl;

