-
Автор темы
- #1
Шапка
В коде нет данных функций и поэтому они горят, хз как это исправить, надеюсь вы поможете)
В коде нет данных функций и поэтому они горят, хз как это исправить, надеюсь вы поможете)
JavaScript:
UI.AddMultiDropdown("Indicators", [ "Double Tap", "Hide Shots", "Fake Duck", "Auto Peek", "Dormant Aimbot", "Min Damage", "Ping Spike", ]);
function indicators()
{
if (!World.GetServerString()) return;
var indicators0 = UI.GetValue("Script items", "Indicators");
var indicatorstype0 = (indicators0 & (1 << 0))
var indicators1 = UI.GetValue("Script items", "Indicators");
var indicatorstype1 = (indicators1 & (1 << 1))
var indicators2 = UI.GetValue("Script items", "Indicators");
var indicatorstype2 = (indicators2 & (1 << 2))
var indicators3 = UI.GetValue("Script items", "Indicators");
var indicatorstype3 = (indicators3 & (1 << 3))
var indicators4 = UI.GetValue("Script items", "Indicators");
var indicatorstype4 = (indicators4 & (1 << 4))
var indicators5 = UI.GetValue("Script items", "Indicators");
var indicatorstype5 = (indicators5 & (1 << 5))
var indicators6 = UI.GetValue("Script items", "Indicators");
var indicatorstype6 = (indicators6 & (1 << 6))
font = Render.AddFont("Tahoma", 8, 400);
slowwalk = UI.IsHotkeyActive("Anti-Aim", "Extra", "Slow walk");
/*
dt = UI.IsHotkeyActive("Rage", "GENERAL", "Exploits", "Doubletap");
hd = UI.IsHotkeyActive("Rage", "GENERAL", "Exploits", "Hide shots");
fd = UI.IsHotkeyActive("Anti-Aim", "Extra", "Fake duck");
peek = UI.IsHotkeyActive("Misc", "Movement", "Auto peek");
dormant = UI.IsHotkeyActive("Script items", "Dormant Aimbot on Key");
damage = UI.IsHotkeyActive("Script items", "Damage Override");
spike = UI.IsHotkeyActive("Script items", "Ping - Spike on Key");
*/
var mindmgkey = UI.GetValue("Script items", "Minimum Damage Override")
var ping_csgoo = Math.round(Entity.GetProp(Entity.GetLocalPlayer(), "CPlayerResource", "m_iPing")).toString()
screen_size = Render.GetScreenSize()
local = Entity.GetLocalPlayer();
x = screen_size[0]
y = screen_size[1]
add_y = 0
if(slowwalk && UI.GetValue("Script items", "Low Delta on Slow Walk"))
{
Render.StringCustom(x / 2 - 16, y / 2 + 12 + add_y, 0, "LOW DELTA", [130, 130, 255, 255], font);
}
else
{
Render.StringCustom(x / 2 - 16, y / 2 + 12 + add_y, 0, "STATIC", [130, 130, 255, 255], font);
}
if(indicatorstype0 && UI.IsHotkeyActive("Rage", "GENERAL", "Exploits", "Doubletap"))
{
add_y = add_y + 11
Render.StringCustom(x / 2 - 14, y / 2 + 12 + add_y, 0, "DT", [0, 130, 0, 255], font);
}
if(indicatorstype1 && UI.IsHotkeyActive("Rage", "GENERAL", "Exploits", "Hide shots"))
{
add_y = add_y + 11
Render.StringCustom(x / 2 - 14, y / 2 + 12 + add_y, 0, "ONSHOT", [0, 130, 0, 255], font);
}
if(indicatorstype2 && UI.IsHotkeyActive("Anti-Aim", "Extra", "Fake duck"))
{
add_y = add_y + 11
Render.StringCustom(x / 2 - 14, y / 2 + 12 + add_y, 0, "DUCK", [0, 130, 0, 255], font);
}
if(indicatorstype3 && UI.IsHotkeyActive("Misc", "Movement", "Auto peek"))
{
add_y = add_y + 11
Render.StringCustom(x / 2 - 14, y / 2 + 12 + add_y, 0, "PEEK", [0, 130, 0, 255], font);
}
if(indicatorstype4 && UI.GetValue("Script items", "Dormant Aimbot") && UI.IsHotkeyActive("Script items", "Dormant Aimbot on Key"));
{
add_y = add_y + 11
Render.StringCustom(x / 2 - 14, y / 2 + 12 + add_y, 0, "DORMANT", [0, 130, 0, 255], font);
}
if(indicatorstype5 && UI.GetValue("Script items", "Min - Damage") && UI.IsHotkeyActive("Script items", "Damage Override"));
{
add_y = add_y + 11
Render.StringCustom(x / 2 - 14, y / 2 + 12 + add_y, 0, "DAMAGE " + "[" + mindmgkey + "]", [0, 130, 0, 255], font);
}
if(indicatorstype6 && UI.GetValue("Script items", "Ping - Spike") && UI.IsHotkeyActive("Script items", "Ping - Spike on Key"));
{
add_y = add_y + 11
Render.StringCustom(x / 2 - 14, y / 2 + 12 + add_y, 0, "SPIKE " + "[" + ping_csgoo + "]", [0, 130, 0, 255], font);
}
}
Cheat.RegisterCallback("Draw", "indicators");