B.O.M.J
-
Автор темы
- #1
При включении происходит
Вот шо
Вот шо
C++:
if (g_Options.fake_chams)
{
// Fake
QAngle OrigAng;
OrigAng = g_LocalPlayer->m_angEyeAngles();
g_LocalPlayer->SetAngle2(QAngle(0, g_LocalPlayer->m_angEyeAngles().yaw, 0));
g_RenderView->SetColorModulation(g_Options.esp_localplayer_fakechams_color_invisible);
localfake_mat->IncrementReferenceCount();
localfake_mat->SetMaterialVarFlag(MATERIAL_VAR_IGNOREZ, true);
g_MdlRender->ForcedMaterialOverride(localfake_mat);
g_LocalPlayer->DrawModel(1, 255);
g_MdlRender->ForcedMaterialOverride(nullptr);
g_RenderView->SetColorModulation(g_Options.esp_localplayer_fakechams_color_visible);
localfake_mat->IncrementReferenceCount();
localfake_mat->SetMaterialVarFlag(MATERIAL_VAR_IGNOREZ, false);
g_MdlRender->ForcedMaterialOverride(localfake_mat);
g_LocalPlayer->DrawModel(1, 255);
g_MdlRender->ForcedMaterialOverride(nullptr);
g_LocalPlayer->SetAngle2(OrigAng);
// Real
g_LocalPlayer->SetAbsAngles(QAngle(0, g_LocalPlayer->m_flLowerBodyYawTarget(), 0));
g_RenderView->SetColorModulation(g_Options.esp_localplayer_chams_color_invisible);
local_mat->IncrementReferenceCount();
local_mat->SetMaterialVarFlag(MATERIAL_VAR_IGNOREZ, true);
g_MdlRender->ForcedMaterialOverride(local_mat);
g_LocalPlayer->DrawModel(1, 255);
g_MdlRender->ForcedMaterialOverride(nullptr);
g_RenderView->SetColorModulation(g_Options.esp_localplayer_chams_color_visible);
local_mat->IncrementReferenceCount();
local_mat->SetMaterialVarFlag(MATERIAL_VAR_IGNOREZ, false);
g_MdlRender->ForcedMaterialOverride(local_mat);
g_LocalPlayer->DrawModel(1, 255);
g_MdlRender->ForcedMaterialOverride(nullptr);
g_LocalPlayer->SetAngle2(OrigAng);
}