
Originally Posted by
Ben
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?