search button
Ok Im using Hotkeys, and atm I have No Spread auto-on. How can i do a hotkey for it? I know the (On) part of the code. But what is it's (off)?
Like how No recoil has an off and and on part.
Thanks
remusrowle34 (07-23-2010)
Are you using the PTC method of no spread? If so this is how I do hotkeys for on and off (it's probably not the best way, but it works for me and that's all I need).
First define this global integer
Next I made this little boolean function to save time on repetitive GetAsyncKeyState calls. (add this above void main()..)Code:int IsSpreadOn = 0;
Now in void main()Code:bool CheckKey(int OMGKEY) { if (GetAsyncKeyState(OMGKEY)<0){ return true; } else{ return false;} }
There you go.Code:void main() { while(true) { if (CheckKey(VK_DELETE)) if(IsSpreadOn==0){ PushToConsole("PerturbRotationEffect 0.000000"); PushToConsole("PerturbIncreaseSpeed 0.000000"); PushToConsol("PerturbWalkPercent 0.000000"); PushToConsole("PerturbFiringIncreaseSpeed 0.000000"); PushToConsole("PerturbRecoil 0.000000"); PushToConsole("FireMovePerturb 0.000000"); PushToConsole("ZoomedFireMoveDuckPerturb 0.000000"); PushToConsole("ZoomedFireMovePerturb 0.000000"); PushToConsole("ZoomedFireDuckPerturb 0.000000"); IsSpreadOn = 1; Sleep(100); } else{ PushToConsole("PerturbRotationEffect 3.000000"); PushToConsole("PerturbIncreaseSpeed 3.000000"); PushToConsol("PerturbWalkPercent 9.000000"); PushToConsole("PerturbFiringIncreaseSpeed 0.500000"); PushToConsole("PerturbRecoil 9.000000"); PushToConsole("FireMovePerturb 9.000000"); PushToConsole("ZoomedFireMoveDuckPerturb 9.000000"); PushToConsole("ZoomedFireMovePerturb 9.000000"); PushToConsole("ZoomedFireDuckPerturb 9.000000"); IsSpreadOn = 0; Sleep(100); } } }
You can win the rat race,Originally Posted by Jeremy S. Anderson
But you're still nothing but a fucking RAT.
++Latest Projects++
[Open Source] Injection Library
Simple PE Cipher
FilthyHooker - Simple Hooking Class
CLR Injector - Inject .NET dlls with ease
Simple Injection - An in-depth look
MPGH's .NET SDK
eJect - Simple Injector
Basic PE Explorer (BETA)
whit (07-23-2010),_-Blazin-_ (07-23-2010)
Can we please stop spoon feeding the source leechers?
Im not trying to leech. Im trying to learn.. They're helping meh Plus Im not stupid enough to leech someone's source and then repost it in the Combat Arms Section. Im just editing them for personal use.. And eventually I'll make my own base.
Thanks for the help guys. If a mod could close this..
You can win the rat race,Originally Posted by Jeremy S. Anderson
But you're still nothing but a fucking RAT.
++Latest Projects++
[Open Source] Injection Library
Simple PE Cipher
FilthyHooker - Simple Hooking Class
CLR Injector - Inject .NET dlls with ease
Simple Injection - An in-depth look
MPGH's .NET SDK
eJect - Simple Injector
Basic PE Explorer (BETA)
_-Blazin-_ (07-23-2010)
never knew that the coding section turned into a help section XD
You can win the rat race,Originally Posted by Jeremy S. Anderson
But you're still nothing but a fucking RAT.
++Latest Projects++
[Open Source] Injection Library
Simple PE Cipher
FilthyHooker - Simple Hooking Class
CLR Injector - Inject .NET dlls with ease
Simple Injection - An in-depth look
MPGH's .NET SDK
eJect - Simple Injector
Basic PE Explorer (BETA)
_-Blazin-_ (07-23-2010)
/Solved
/Closed
-Rest in peace leechers-
Your PM box is 100% full.