-
Автор темы
- #1
Find This
Код:
if (CheckTeam)
{
if (Settings :: Esp :: esp_Visible <= 2)
{
if (Settings :: Esp :: esp_Chams == 1)
{
ForceMaterial (TeamHideColor, hidden_flat);
hidden_flat-> SetMaterialVarFlag (MATERIAL_VAR_IGNOREZ, true);
}
else if (Settings :: Esp :: esp_Chams> = 2)
{
ForceMaterial (TeamHideColor, hidden_tex);
hidden_tex-> SetMaterialVarFlag (MATERIAL_VAR_IGNOREZ, true);
}
}
else
{
if (Settings :: Esp :: esp_Chams == 1)
{
ForceMaterial (TeamHideColor, hidden_flat);
hidden_flat-> SetMaterialVarFlag (MATERIAL_VAR_IGNOREZ, false);
}
else if (Settings :: Esp :: esp_Chams> = 2)
{
ForceMaterial (TeamHideColor, hidden_tex);
hidden_tex-> SetMaterialVarFlag (MATERIAL_VAR_IGNOREZ, false);
}
} [/ CODE]
and change to this
[CODE] if (CheckTeam)
{
if (Settings :: Esp :: esp_Visible <= 2)
{
if (Settings :: Esp :: esp_Chams == 1)
{
ForceMaterial (TeamHideColor, hidden_flat);
hidden_flat-> SetMaterialVarFlag (MATERIAL_VAR_IGNOREZ, true);
}
else if (Settings :: Esp :: esp_Chams> = 2)
{
ForceMaterial (TeamHideColor, hidden_tex);
hidden_tex-> SetMaterialVarFlag (MATERIAL_VAR_IGNOREZ, false);
}
}
else
{
if (Settings :: Esp :: esp_Chams == 1)
{
ForceMaterial (TeamHideColor, hidden_flat);
hidden_flat-> SetMaterialVarFlag (MATERIAL_VAR_IGNOREZ, false);
}
else if (Settings :: Esp :: esp_Chams> = 2)
{
ForceMaterial (TeamHideColor, hidden_tex);
hidden_tex-> SetMaterialVarFlag (MATERIAL_VAR_IGNOREZ, false);
}
}
Interfaces :: ModelRender () -> DrawModelExecute (ctx, state, pInfo, pCustomBoneToWorld);
if (Settings :: Esp :: esp_Chams == 1)
{
ForceMaterial (TeamVisibleColor, visible_flat);
visible_flat-> SetMaterialVarFlag (MATERIAL_VAR_IGNOREZ, false);
}
else if (Settings :: Esp :: esp_Chams> = 2)
{
ForceMaterial (TeamVisibleColor, visible_tex);
visible_tex-> SetMaterialVarFlag (MATERIAL_VAR_IGNOREZ, false);
}
} [/ CODE]