help with a small bit of code

closed account (4Nv4GNh0)
Not really sure what the problem is here, can someone help me out?

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
 if (GetAsyncKeyState('T'))
{
	float fNewYaw = memory.read<float>(LocalPlayerAddress + 0x13B4) - 90;
	float fy = D3DXToRadian(fNewYaw);
	float fc = cos(fy);
	float fs = sin(fy);
	D3DXVECTOR3 Movement;

	Movement.z = -(fs * 0.1f);
	Movement.y = 0;
	Movement.x = -(fc * 0.1f);

	D3DXVECTOR3 FinalPos = LocalPlayerPos + Movement;

	memory.write<D3DXVECTOR3>((LocalPlayerAddress + locationAddress), FinalPos);
}
Whats the problem? What is the error? What is it doing? What is it suppose to do?
I just googled the first line of his code and it came up with what appears to be a site for hacking / cheating in games, and this code is copy pasted.

Is this even allowed on here?
Topic archived. No new replies allowed.