How to Put On/off
How to Put On Off in A Source . Example When Wall hack is off it Doesn't on And When u On it will run
Sorry For my bad English
Sorry For my bad English
if (GetAsyncKeyState(VK_INSERT) &1) Wallhack = !Wallhack //if bool is true(ON) pressing Insert will make it false(OFF) else if bool is false(OFF) it will make it true(ON)
if(Wallhack) your Wallhack function
{
bla bla bla = bla bla bla; //ON function
}
else
{
bla bla bla = bla bla bla; //OFF function
}
if (this->no_nade_damage_status_)
{
this->weapons_[i]->ammo_damage = 0.0f;
}
else
{
this->weapons_[i]->ammo_damage = this->old_weapons_[i]->ammo_damage;
}