-
Автор темы
- #1
Спастил десинк из xu0
if (g_cfg.esp.ghost_chams && g_ctx.m_local->is_alive()) {
vec3_t abs_angles = g_ctx.m_local->abs_angles();
if (g_cfg.misc.ghostcharmsangle == 1)
g_ctx.m_local->set_abs_angles(vec3_t(0, g_ctx.get_command()->m_viewangles.y - g_ctx.m_local->DesyncValue(), 0));
else
g_ctx.m_local->set_abs_angles(vec3_t(0, g_ctx.m_local->m_flLowerBodyYawTarget(), 0));
float normal_color[4] = {
g_cfg.esp.ghost_chams_color[0] / 255.f,
g_cfg.esp.ghost_chams_color[1] / 255.f,
g_cfg.esp.ghost_chams_color[2] / 255.f,
g_cfg.esp.ghost_chams_color[3] / 255.f
};
g_csgo.m_renderview()->SetColorModulation(normal_color);
g_csgo.m_renderview()->SetBlend(0.3f);
g_csgo.m_modelrender()->ForcedMaterialOverride(materials[0]);
g_ctx.m_local->DrawModel(0x1, 255);
g_csgo.m_modelrender()->ForcedMaterialOverride(nullptr);
g_csgo.m_renderview()->SetBlend(1.f);
g_ctx.m_local->set_abs_angles(vec3_t(0, abs_angles.y, 0));
}
такой код ghost chams
Что нужно изменить?
if (g_cfg.esp.ghost_chams && g_ctx.m_local->is_alive()) {
vec3_t abs_angles = g_ctx.m_local->abs_angles();
if (g_cfg.misc.ghostcharmsangle == 1)
g_ctx.m_local->set_abs_angles(vec3_t(0, g_ctx.get_command()->m_viewangles.y - g_ctx.m_local->DesyncValue(), 0));
else
g_ctx.m_local->set_abs_angles(vec3_t(0, g_ctx.m_local->m_flLowerBodyYawTarget(), 0));
float normal_color[4] = {
g_cfg.esp.ghost_chams_color[0] / 255.f,
g_cfg.esp.ghost_chams_color[1] / 255.f,
g_cfg.esp.ghost_chams_color[2] / 255.f,
g_cfg.esp.ghost_chams_color[3] / 255.f
};
g_csgo.m_renderview()->SetColorModulation(normal_color);
g_csgo.m_renderview()->SetBlend(0.3f);
g_csgo.m_modelrender()->ForcedMaterialOverride(materials[0]);
g_ctx.m_local->DrawModel(0x1, 255);
g_csgo.m_modelrender()->ForcedMaterialOverride(nullptr);
g_csgo.m_renderview()->SetBlend(1.f);
g_ctx.m_local->set_abs_angles(vec3_t(0, abs_angles.y, 0));
}
такой код ghost chams
Что нужно изменить?