def wh():
glow_manager = pm.read_int(client + dwGlowObjectManager)
for i in range(1, 32): # Entities 1-32 are reserved for players.
entity = pm.read_int(client + dwEntityList + i * 0x10)
if entity:
entity_team_id = pm.read_int(entity + m_iTeamNum)
entity_glow = pm.read_int(entity + m_iGlowIndex)
entity_local = pm.read_int(entity + m_Local)
if entity_team_id == 2: # Terrorist
pm.write_float(glow_manager + entity_glow * 0x38 + 0x4, float(T_default)) # R
pm.write_float(glow_manager + entity_glow * 0x38 + 0x8, float(T_default1)) # G
pm.write_float(glow_manager + entity_glow * 0x38 + 0xC, float(T_default2)) # B
pm.write_float(glow_manager + entity_glow * 0x38 + 0x10, float(1)) # Alpha
pm.write_int(glow_manager + entity_glow * 0x38 + 0x24, 1) # Enable glow
elif entity_team_id == 3: # Counter-terrorist
pm.write_float(glow_manager + entity_glow * 0x38 + 0x4, float(CT_default)) # R
pm.write_float(glow_manager + entity_glow * 0x38 + 0x8, float(CT_default1)) # G
pm.write_float(glow_manager + entity_glow * 0x38 + 0xC, float(CT_default2)) # B
pm.write_float(glow_manager + entity_glow * 0x38 + 0x10, float(1)) # Alpha
pm.write_int(glow_manager + entity_glow * 0x38 + 0x24, 1) # Enable glow
Messagedef wh():
31 October 2019Nearby in the feed
Rthis message
R