How use WeaponMGR

Posts 4652 of 52 · Page 4 of 4
Super ez hacks with this
is this still working or patched?
Code:
	if(GetAsyncKeyState(VK_F7))
	{
			*(DWORD*)(*(DWORD*)(*(DWORD*)(0x009CD258) + 0x4b8 ) + Damage) = 2; // 2xDamage HK 416 Snow
			*(DWORD*)(*(DWORD*)(*(DWORD*)(0x009CD258) + 0x278 ) + Damage) = 2; // 2xDamage AK47 Tiger
	}
what is wrong in the code
Quote Originally Posted by nikazizi97 View Post
Code:
	if(GetAsyncKeyState(VK_F7))
	{
			*(DWORD*)(*(DWORD*)(*(DWORD*)(0x009CD258) + 0x4b8 ) + Damage) = 2; // 2xDamage HK 416 Snow
			*(DWORD*)(*(DWORD*)(*(DWORD*)(0x009CD258) + 0x278 ) + Damage) = 2; // 2xDamage AK47 Tiger
	}
what is wrong in the code
Address 0x009CD258 is outdated.

Anyone know whats the offset for AK47 TR?
Quote Originally Posted by failnoobgamer View Post
Address 0x009CD258 is outdated.

Anyone know whats the offset for AK47 TR?
what is the addr, then?
I did
Code:
for (DWORD i = 0, offset = 0; i < numOfOffsets; offset += i % 2 == 0 ? 0x02 : 0x08, i++)
{
*(BYTE*)(*(DWORD*)(*(DWORD*)(WeaponMGR) + offset) + 0x188) = Bulletcount;
}
And then I realized that the weapon offsets don't always go up by 0x02 then 0x08 so it will crash.
What is the perfect for loop?
Quote Originally Posted by nikazizi97 View Post
nevermine i want use other method
Example: create an array class with all offsets
Posts 4652 of 52 · Page 4 of 4
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Need help?