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;
}
}
}
You're doing it wrong.
The Hotkeys should before the functions.
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.