-
Автор темы
- #1
import keyboard
import pymem
dwEntityList = 0x4DA3F5C
m_iDefaultFOV = 0x332C
def main():
pm = pymem.Pymem("csgo.exe")
client = pymem.process.module_from_name(pm.process_handle, "client.dll").lpBaseOfDll
player = pm.read_int(client + dwEntityList)
iFov = pm.read_int(player + m_iDefaultFOV)
while True:
player = pm.read_int(client + dwEntityList)
iFov = pm.read_int(player + m_iDefaultFOV)
if keyboard.is_pressed('page_down'):
pm.write_int(player + m_iDefaultFOV, 90)
if keyboard.is_pressed('page_up'):
pm.write_int(player + m_iDefaultFOV, 140)
if keyboard.is_pressed('end'):
pm.write_int(player + m_iDefaultFOV, 90)
exit()
if __name__ == '__main__':
main()
import pymem
dwEntityList = 0x4DA3F5C
m_iDefaultFOV = 0x332C
def main():
pm = pymem.Pymem("csgo.exe")
client = pymem.process.module_from_name(pm.process_handle, "client.dll").lpBaseOfDll
player = pm.read_int(client + dwEntityList)
iFov = pm.read_int(player + m_iDefaultFOV)
while True:
player = pm.read_int(client + dwEntityList)
iFov = pm.read_int(player + m_iDefaultFOV)
if keyboard.is_pressed('page_down'):
pm.write_int(player + m_iDefaultFOV, 90)
if keyboard.is_pressed('page_up'):
pm.write_int(player + m_iDefaultFOV, 140)
if keyboard.is_pressed('end'):
pm.write_int(player + m_iDefaultFOV, 90)
exit()
if __name__ == '__main__':
main()