HelpHow to Put On/off

Posts 1–4 of 4 · Page 1 of 1
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
Quote Originally Posted by ahrixspie View Post
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
Example:
Code:
if (GetAsyncKeyState(VK_INSERT) &1)  <---- Use "&1"
bool Wallhack = false; //OFF

Code:
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
}
-elpresidente
Code:
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;
}
Source

You will have to backup the weapon values first
Posts 1–4 of 4 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Need help?