import pymem
# Подключаемся к процессу CS:GO
process = pymem.Pymem("csgo.exe")
process.open()
# Получаем базовый адрес модуля движка
engine_module = process.get_module("engine.dll")
engine_base = engine_module.lpBaseOfDll
# Получаем адреса нужных переменных
local_player = process.read_int(engine_base + 0x00DA3EC4)
player_x = process.read_float(local_player + 0x138)
player_y = process.read_float(local_player + 0x13C)
player_z = process.read_float(local_player + 0x140)
print(f"X: {player_x}, Y: {player_y}, Z: {player_z}")