UI.AddCheckbox("Indicators");
UI.AddColorPicker("Indicators color");
function hc38in() {
local = Entity.GetLocalPlayer();
if (!UI.GetValue("Misc", "JAVASCRIPT", "Script items", "Indicators") || !Entity.IsValid(local) || !Entity.IsAlive(local)) return;
font = Render.AddFont("Verdana", 6,100);
x = screen_size[0];
y = screen_size[1];
col = UI.GetColor("Misc", "JAVASCRIPT", "Script items", "Indicators color");
real_yaw = Local.GetRealYaw();
fake_yaw = Local.GetFakeYaw();
delta = Math.min(Math.abs(real_yaw - fake_yaw) / 2, 60).toFixed(0);
delta_size = Render.TextSizeCustom(delta, font);
Render.GradientRect(x / 2, y / 2 + 49, (125 / 110) * delta, 3, 1, col, [0, 0, 0, 0]);
Render.GradientRect(x / 2 - (125 / 110) * delta + 1, y / 2 + 49, (125 / 110) * delta, 3, 1, [0, 0, 0, 0], col);
{
}
}
Cheat.RegisterCallback("Draw", "hc38in");