Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local hwnd = 0
- while (hwnd == 0) do
- hwnd = FindWindow("Counter-Strike Source")
- end
- Sleep(1500)
- local procID = GetProcessId(hwnd)
- WriteConsole("Process ID: " .. tostring(procID) .. "\n")
- local procHandle = OpenProcess(PROCESS_ALL_ACCESS, procID)
- WriteConsole("Process Handle: " .. tostring(procHandle) .. " [" .. tostring(PROCESS_ALL_ACCESS) .. "]\n")
- local client = GetBaseAddress(procHandle, "client.dll")
- local r_drawothermodels = client + 0x5690D0
- while (IsKeyDown(VK_END) == 0) do --END
- if (IsKeyDown(VK_F12) == 1) then
- if (ReadInt(procHandle, r_drawothermodels) == 2) then
- WriteInt(procHandle, r_drawothermodels, 1)
- WriteConsole("wallhack off\n")
- else
- WriteInt(procHandle, r_drawothermodels, 2)
- WriteConsole("wallhack on\n")
- end
- end
- Sleep(100)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement