SolvedNeed help making a hack

Posts 1–9 of 9 · Page 1 of 1
Need help making a hack
Hi Heres the code im using but when i turn them on nothing happens :P

Heres the code



}
if(GetAsyncKeyState(VK_F1))
{
if(reload)
{
if (pWeaponMgr)
{
for(int i=0; i<445; i++)
{
if((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr))+(4*i)) ) != NULL)
*(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr)) +(4*i))) + NoReload) = 0;
}
}
}
}
if(GetAsyncKeyState(VK_F2))
{
if(spread)
{
if (pWeaponMgr)
{
for(int i=0; i<445; i++)
{
if((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr))+(4*i)) ) != NULL)
*(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr)) +(4*i))) + nospread) = 0;
}
}
}
wht ? wth ? where are the #include <windows.h> #include "stdafx.h" and all tht ?
and whos gonna do this #define reload 0x2424
u hav to do al tht plus u hav to put the code to attach the dll =P
You're doing it wrong.
The Hotkeys should before the functions.
@Takari

Like this?

(THE SHORTKEY CODE HERE)
if(reload)
{
if (pWeaponMgr)
{
for(int i=0; i<445; i++)
{
if((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr))+(4*i)) ) != NULL)
*(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr)) +(4*i))) + NoReload) = 0;
}
}
}
}
Like that??
You can ask for actives members from Source Code Section too...
You should have a Loop Function (probably you're using the While) and it should go after that.
Answered. /closed
Posts 1–9 of 9 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Need help?