❓ Value OFF STW

Posts 1–15 of 19 · Page 1 of 2
❓ Value OFF STW
how to off STW ? this "ON" and "OFF" Code

Code:
void STW ()
{
	if(GetAsyncKeyState(VK_NUMPAD7) &1) // ON
	{
		*(double*)ADR_STW = 0;
	}
	if(GetAsyncKeyState(VK_NUMPAD8) &1) // OFF
	{
		*(double*)ADR_STW = ?????? ;
	}
}
thx before.
Can you tell me the addie please. I will try and figure out the RIGHT off address and the RIGHT on address
*(double*)ADR_STW = 5

I don't know if it works dude. hehehe
Are u sure ?
Quote Originally Posted by Prosperity View Post
We're not sure
Doesn't work.

Quote Originally Posted by `I`G`N`A`C`I`A` View Post
value = 0

and when off = 0.5
why 0.5 ?
Quote Originally Posted by QhydDo View Post
how to off STW ? this "ON" and "OFF" Code

Code:
void STW ()
{
	if(GetAsyncKeyState(VK_NUMPAD7) &1) // ON
	{
		*(double*)ADR_STW = 0;
	}
	if(GetAsyncKeyState(VK_NUMPAD8) &1) // OFF
	{
		*(double*)ADR_STW = ?????? ;
	}
}
thx before.
Try this, hope it works

void STW ()
{
if(GetAsyncKeyState(VK_NUMPAD3) &1) // ON
{
*(double*)ADR_STW = 0;
}
if(GetAsyncKeyState(VK_NUMPAD4) &1) // OFF
{
*(double*)ADR_STW = 0.5
}
}

Don't forget to press thanks
Credits to: @trialsg
Right, the value of STW is 0.5

Why you make it harder, there is a simple automatic code.
Code:
void STW()
{
*(double*)ADR_STW = 0;
}
Quote Originally Posted by QhydDo View Post
how to off STW ? this "ON" and "OFF" Code

Code:
void STW ()
{
	if(GetAsyncKeyState(VK_NUMPAD7) &1) // ON
	{
		*(double*)ADR_STW = 0;
	}
	if(GetAsyncKeyState(VK_NUMPAD8) &1) // OFF
	{
		*(double*)ADR_STW = ?????? ;
	}
}
thx before.

Try this:

void ShotThroughWallsOn()
{
if(GetAsyncKeyState(VK_NUMPAD4) &1)
{
MessageBeep(MB_ICONINFORMATION);
*(double*)ADR_STW = 0;
}
}

void ShotThroughWallsOff()
{
if(GetAsyncKeyState(VK_NUMPAD5) &1)
{
MessageBeep(MB_ICONINFORMATION);
*(double*)ADR_STW = 0.5;
}
}

...when you press Numpad4 as STW On - The STW On will activate on the next game
...when you press Numpad5 as STW Off - The STW Off will activate on the next game also...
Use my source if you want AUTOMATIC FUNCTION
Here:

Code:
if (stw)
	{
		*(double*)(ADR_Stw) = 824; //Turn on
	}

	else
	{
		*(double*)(ADR_Stw) = 4; //Turn Off
	}
If you are not sure log it, still the best way

you can make a simple source like this
Code:
DWORD value;
char s_value[40];
sprintf_s(s_value,"Value: [%d]",ADRESS_HERE)
then simply display it
Quote Originally Posted by AeroMan View Post
If you are not sure log it, still the best way

you can make a simple source like this
Code:
DWORD value;
char s_value[40];
sprintf_s(s_value,"Value: [%d]",ADRESS_HERE)
then simply display it
...can you help me with position logger for no menu code? just like when i press Numpad9 during play, a messagebox will display the value of X, Y, & Z?
the reason for having the ON/OFF in STW if for the HeavyTrooper use cause when u use STW possive the ammo of heavytrooper's gun will just go through which cannot damage the zoombies .. am i right?
Posts 1–15 of 19 · Page 1 of 2
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Talk with us