def wallhack():
while True:
if pm.read_int(client + dwLocalPlayer):
for x in range(64):
localplayer = pm.read_int(client + dwLocalPlayer)
localplayer_team = pm.read_int(localplayer + m_iTeamNum)
if pm.read_int(client + dwEntityList + x * 0x10):
entity = pm.read_int(client + dwEntityList + x * 0x10)
spotted = pm.read_int(entity + m_bSpottedByMask)
index = checkindex()
entity_team = pm.read_int(entity + m_iTeamNum)
glow_manager = pm.read_int(client + dwGlowObjectManager)
entity_glow = pm.read_int(m_iGlowIndex + entity)
if entity and entity_team != localplayer_team and spotted == 1 << index:
pm.write_float(glow_manager + entity_glow * 0x38 + 0x4, float(3)) # R
pm.write_float(glow_manager + entity_glow * 0x38 + 0xC, float(2.5)) # B
pm.write_float(glow_manager + entity_glow * 0x38 + 0x10, float(1))
pm.write_int(glow_manager + entity_glow * 0x38 + 0x24, 1)
elif spotted != 1 << index and entity and entity_team != localplayer_team:
pm.write_float(glow_manager + entity_glow * 0x38 + 0x8, float(1)) # G Тута ошибка
pm.write_float(glow_manager + entity_glow * 0x38 + 0xC, float(0)) # B и тут
pm.write_float(glow_manager + entity_glow * 0x38 + 0x10, float(1)) # и тут
pm.write_int(glow_manager + entity_glow * 0x38 + 0x24, 1)# мб и тут
wallhack = Thread(target=wallhack)
wallhack.start()