Shouldn''t it be: *(float*)(dwPlayerPtr + ADR_SPREAD) = 0;
No Recoil Source Code Not Working
Norecoil should be stickied this way, but not NoSpread. As you said, it will only works when pressing F3.
Make 2 functions for it ( so user can choose )
Then you're done
Make 2 functions for it ( so user can choose )
Code:
//You know the noRecoil code
....
// NoSpread
// Here you have to bool a the state
Under you defines, out of a function, define a variable like this :
bool NoSpreadState = false;
// Then
void NoSpread()
{
if(GetAsyncKeyState(VK_F3))
NoSpreadState = true; // Activate
if(GetAsyncKeyState(VK_F4))
NoSpreadState = false; // Desactivate
// Then you check its value
if(NoSpreadState == true)
*(float*)ADR_Spread = 0;
else
// Do Nothing because it will came to the normal state automatic.
}
Yeh it's supposed to stay as you said.
Did you puted the hack function into the main ? ^^
Btw this is how I done and it works. Check again your code, if you defined the bool variable out of every function, as defines and others.
Also check your addys ?
EDIT : To be sure of addys, just don't make a hotkey.
Just do :
( This is the way i debug my progs ^^ )
Did you puted the hack function into the main ? ^^
Btw this is how I done and it works. Check again your code, if you defined the bool variable out of every function, as defines and others.
Also check your addys ?
EDIT : To be sure of addys, just don't make a hotkey.
Just do :
Code:
void NoSpread()
{
*(float*)ADR_Spread = 0;
}
So only my code don't work ?
Wtf.. This is the same as me ^^ ( i only put a hotkey to middle click for NoSpread )
Weird. Here i dunno what's happen.
EDIT : Or yeah, zerohead helps... xD
Wtf.. This is the same as me ^^ ( i only put a hotkey to middle click for NoSpread )
Weird. Here i dunno what's happen.
EDIT : Or yeah, zerohead helps... xD
This thread is closed for replies.


, or make a seperate thread for nospread with no sleep