zoom hack for csgo

Posts 13 of 3 · Page 1 of 1
zoom hack for csgo
can anyone make a simple hack in c++ to zoom in like a aug/ssg but with all the other guns

thanks alot, i can pay for it if nessessary!
Try making your own.
Here's the code:
Code:
//Zoom looks like SG w/ pistol
if (GetAsynchKeyState(VK_SHIFT)) {
         Mem.Write(LocalPlayerBase + iFOVoffset, 35)
}
//Return fov to 85 (think this is default)
else if (GetAsynchKeyState(VK_LMENU)) {
         Mem.Write(LocalPlayerBase + iFOVoffset, 85)
}
Try adjusting the FoV Offsets to your liking.
Quote Originally Posted by Ben View Post
Try making your own.
Here's the code:
Code:
//Zoom looks like SG w/ pistol
if (GetAsynchKeyState(VK_SHIFT)) {
         Mem.Write(LocalPlayerBase + iFOVoffset, 35)
}
//Return fov to 85 (think this is default)
else if (GetAsynchKeyState(VK_LMENU)) {
         Mem.Write(LocalPlayerBase + iFOVoffset, 85)
}
Try adjusting the FoV Offsets to your liking.


thanks for reaction mate
already try'd this out it gives some errors while running the script
i'm learning c++ basics atm so i'm new to it

||=== Build file: "no target" in "no project" (compiler: unknown) ==
A:\codeblocks files\Process Memory Reading\zoom script.cpp||In function 'int main()':|
A:\codeblocks files\Process Memory Reading\zoom script.cpp|16|error: 'GetAsynchKeyState' was not declared in this scope|
A:\codeblocks files\Process Memory Reading\zoom script.cpp|17|error: 'ProcMem' was not declared in this scope|
A:\codeblocks files\Process Memory Reading\zoom script.cpp|21|error: 'ProcMem' was not declared in this scope|
||=== Build failed: 3 error(s), 0 warning(s) (0 minute(s), 0 second(s)) ==

how can you declare an getAsynchkeystate? i added this on top #include <Windows.h> but it doesnt help it

and how to declare procmem? do i need to add another file to it?
Posts 13 of 3 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Need help?