-
Автор темы
- #1
Обратите внимание, пользователь заблокирован на форуме. Не рекомендуется проводить сделки.
Тут дохуя говнокода но мб кому то пригодится вся эта параша
В миникорде лоудельта с легит аа
скрипты корректно работают конда загружены все вместе, ибо мне лень всё в одно пихать
В миникорде лоудельта с легит аа
скрипты корректно работают конда загружены все вместе, ибо мне лень всё в одно пихать
JavaScript:
UI.AddLabel("-------------------------------------------");
UI.AddCheckbox("Display indicators");
UI.AddHotkey("Low delta");
UI.AddHotkey("L-aa");
UI.AddCheckbox("animfucker");
UI.AddSliderFloat("Aspect ratio", 0.0, 5.0);
UI.AddSliderInt("animfucker speed", 0, 10);
UI.AddLabel("-------------------------------------------");
var Xoffset = 'X offset';
var Yoffset = 'Y offset';
function asratio( ) {
menu_val = UI.GetValue("Misc", "JAVASCRIPT", "Script items", "Aspect ratio");
string_menu_val = menu_val.toString();
Convar.SetString ("r_aspectratio", string_menu_val );
}
function Low_delta()
{
if (UI.IsHotkeyActive("Misc", "JAVASCRIPT", "Script items", "L-aa"))
{
UI.SetValue("Anti-Aim", "Fake angles", "Inverter flip", 0);
UI.SetValue("Anti-Aim", "Extra", "Pitch", 0);
UI.SetValue("Anti-Aim", "Rage Anti-Aim", "Yaw offset", 180);
UI.SetValue("Anti-Aim", "Rage Anti-Aim", "At targets", false);
UI.SetValue("Anti-Aim", "Rage Anti-Aim", "Jitter offset", 0);
inverted = UI.IsHotkeyActive("Anti-Aim", "Fake angels", "Inverter");
AntiAim.SetOverride(1);
if (inverted) {
AntiAim.SetFakeOffset(0);
AntiAim.SetRealOffset(-60);
}
else if (!inverted) {
AntiAim.SetFakeOffset(0);
AntiAim.SetRealOffset(60);
}
}
else if (UI.IsHotkeyActive("Misc", "JAVASCRIPT", "Script items", "Low delta"))
{
UI.SetValue("Anti-Aim", "Extra", "Pitch", 1);
UI.SetValue("Anti-Aim", "Rage Anti-Aim", "Yaw offset", 10);
UI.SetValue("Anti-Aim", "Rage Anti-Aim", "Jitter offset", 0);
AntiAim.SetOverride(1);
AntiAim.SetFakeOffset(0);
AntiAim.SetRealOffset(-26);
}
else
{
UI.SetValue("Anti-Aim", "Extra", "Pitch", 1);
UI.SetValue("Anti-Aim", "Fake angles", "Inverter flip", 2);
UI.SetValue("Anti-Aim", "Rage Anti-Aim", "Yaw offset", 0);
UI.SetValue("Anti-Aim", "Rage Anti-Aim", "Jitter offset", 6);
UI.SetValue("Anti-Aim", "Rage Anti-Aim", "At targets", true);
AntiAim.SetOverride(0);
}
}
function animf()
{
if (UI.GetValue("Script items", "animfucker") && (Globals.Tickcount() - old_tick_count) > (UI.GetValue("Script items", "animfucker speed")))
{
if (UI.GetValue("Misc", "GENERAL", "Movement", "Slide walk"))
UI.SetValue("Misc", "GENERAL", "Movement", "Slide walk", 0);
else
UI.SetValue("Misc", "GENERAL", "Movement", "Slide walk", 1);
old_tick_count = Globals.Tickcount();
}
}
//Draw
function HUD_REDRAW()
{
if (!World.GetServerString()) return;
screen = Render.GetScreenSize()
x = screen[0]/2
y = screen[1]/2
dt = UI.IsHotkeyActive("Rage", "GENERAL", "Exploits","Doubletap");
hs = UI.IsHotkeyActive("Rage", "GENERAL", "Exploits","Hide shots");
fd = UI.IsHotkeyActive("Anti-Aim","Extra","Fake duck");
sp = UI.IsHotkeyActive("Rage","GENERAL","General","Force safe point");
const alphaa = Math.sin(Math.abs(-Math.PI + (Globals.Curtime() * (1 / 0.5)) % (Math.PI * 2))) * 175;
const xyz1 = Math.sin(Math.abs(-Math.PI + (Globals.Curtime() * (1 / 0.02)) % (Math.PI * 2))) * 4;
if (UI.GetValue("Script items", "Display indicators") && Entity.IsValid(Entity.GetLocalPlayer()) && Entity.IsAlive(Entity.GetLocalPlayer()))
{
if (fd)
{
Render.String(x , y + 47, 1, "fakeduck", [0, 0, 0, 75])
Render.String(x , y + 47, 1, "fakeduck", [0, 0, 0, alphaa])
Render.String(x -1, y + 46, 1, "fakeduck", [255, 175, 175, 75])
Render.String(x -1, y + 46, 1, "fakeduck", [255, 175, 175, alphaa])
}
else if (dt)
{
Render.String(x , y + 47, 1, "DT", [0, 0, 0, 255])
Render.String(x -1, y + 46, 1, "DT", [0, 255, 0, 255])
}
else if (hs)
{
Render.String(x, y + 47, 1, "HS", [0, 0, 0, 255])
Render.String(x-1, y + 46, 1, "HS", [150, 150, 255, 255])
}
}
if (sp)
{
Render.String(x, y + 60, 1, "SP", [0, 0, 0, 255])
Render.String(x-1, y + 59, 1, "SP", [100, 255, 255, 255])
}
}
Cheat.RegisterCallback("Draw", "HUD_REDRAW");
Cheat.RegisterCallback("Draw", "animf")
Cheat.RegisterCallback("CreateMove", "Low_delta")
Cheat.RegisterCallback("Draw", "asratio")
JavaScript:
screen = Global.GetScreenSize();
x = screen[0];
y = screen[1];
function fke ()
{
if (!World.GetServerString()) return;
screen = Render.GetScreenSize()
x = screen[0]/2
y = screen[1]/2
inverted = UI.IsHotkeyActive("Anti-Aim", "Fake angels", "Inverter");
if (UI.GetValue("Script items", "Display indicators") && Entity.IsValid(Entity.GetLocalPlayer()) && Entity.IsAlive(Entity.GetLocalPlayer()))
{
if (UI.IsHotkeyActive("Misc", "JAVASCRIPT", "Script items", "L-aa"))
{
Render.String(x + 55, y - 32, 1, ">", [80, 80, 80, 150], 30)
Render.String(x - 55, y - 32, 1, "<", [80, 80, 80, 150], 30)
if (inverted)
{
Render.String(x+31, y - 14, 1, "Real", [0, 0, 0, 255]);
Render.String(x + 56, y - 31, 1, ">", [0, 0, 0, 255], 30)
Render.String(x+55, y - 32, 1, ">", [255, 166, 0, 255], 30);
Render.String(x+30, y - 15, 1, "Real", [255, 166, 0, 255]);
}
else
{
Render.String(x-29, y - 14, 1, "Real", [0, 0, 0, 255]);
Render.String(x - 54, y - 31, 1, "<", [0, 0, 0, 255], 30)
Render.String(x-55, y - 32, 1, "<", [255, 166, 0, 255], 30);
Render.String(x-30, y - 15, 1, "Real", [255, 166, 0, 255]);
}
}
else if (UI.IsHotkeyActive("Misc", "JAVASCRIPT", "Script items", "Low delta"))
{
Render.String(x+1, y - 19, 1, "Low delta", [0, 0, 0, 255]);
Render.String(x, y - 20, 1, "Low delta", [100, 255, 255, 255]);
}
else
{
Render.String(x + 55, y - 32, 1, ">", [80, 80, 80, 150], 30)
Render.String(x - 55, y - 32, 1, "<", [80, 80, 80, 150], 30)
if (inverted)
{
Render.String(x+31, y - 14, 1, "Real", [0, 0, 0, 255]);
Render.String(x + 56, y - 31, 1, ">", [0, 0, 0, 255], 30)
Render.String(x+55, y - 32, 1, ">", [255, 166, 0, 255], 30);
Render.String(x+30, y - 15, 1, "Real", [255, 166, 0, 255]);
}
else
{
Render.String(x-29, y - 14, 1, "Real", [0, 0, 0, 255]);
Render.String(x - 54, y - 31, 1, "<", [0, 0, 0, 255], 30)
Render.String(x-55, y - 32, 1, "<", [255, 166, 0, 255], 30);
Render.String(x-30, y - 15, 1, "Real", [255, 166, 0, 255]);
}
}
}
}
Cheat.RegisterCallback("Draw", "fke")
JavaScript:
UI.AddHotkey("Override min dmg")
UI.AddSliderInt("Heavy Pistol Mindmg", 0, 130)
UI.AddSliderInt("Scout Mindmg", 0, 130)
UI.AddSliderInt("AWP Mindmg", 0, 130)
UI.AddSliderInt("Auto Mindmg", 0, 130)
UI.AddHotkey("Override min dmg #2")
UI.AddSliderInt("Heavy Pistol Mindmg #2", 0, 130)
UI.AddSliderInt("Scout Mindmg #2", 0, 130)
UI.AddSliderInt("AWP Mindmg #2", 0, 130)
UI.AddSliderInt("Auto Mindmg #2", 0, 130)
var heavy_cache = UI.GetValue("Rage", "HEAVY PISTOL", "Targeting", "Minimum damage")
var scout_cache = UI.GetValue("Rage", "SCOUT", "Targeting", "Minimum damage")
var awp_cache = UI.GetValue("Rage", "AWP", "Targeting", "Minimum damage")
var auto_cache = UI.GetValue("Rage", "AUTOSNIPER", "Targeting", "Minimum damage")
function isActive(a)
{
return UI.IsHotkeyActive("Script Items", a)
}
function setValue(cat, value)
{
UI.SetValue("Rage", cat.toUpperCase(), "Targeting", "Minimum damage", value)
}
var first = true;
function isHeavyPistol(name)
{
if (name == "r8 revolver" || name == "desert eagle")
{
return true
}
}
function isAutoSniper(name)
{
if(name == "scar 20" || name == "g3sg1")
{
return true
}
}
function onCM()
{
heavy_value = UI.GetValue("Script items", "Heavy Pistol Mindmg")
scout_value = UI.GetValue("Script items", "Scout Mindmg")
awp_value = UI.GetValue("Script items", "AWP Mindmg")
auto_value = UI.GetValue("Script items", "Auto Mindmg")
heavy_value2 = UI.GetValue("Script items", "Heavy Pistol Mindmg #2")
scout_value2 = UI.GetValue("Script items", "Scout Mindmg #2")
awp_value2 = UI.GetValue("Script items", "AWP Mindmg #2")
auto_value2 = UI.GetValue("Script items", "Auto Mindmg #2")
if (UI.IsMenuOpen( ) == true)
{
if(first)
{
setValue("SCOUT", scout_cache)
setValue("HEAVY PISTOL", heavy_cache)
setValue("AWP", awp_cache)
setValue("AUTOSNIPER", auto_cache)
first = false;
}
heavy_cache = UI.GetValue("Rage", "HEAVY PISTOL", "Targeting", "Minimum damage")
scout_cache = UI.GetValue("Rage", "SCOUT", "Targeting", "Minimum damage")
awp_cache = UI.GetValue("Rage", "AWP", "Targeting", "Minimum damage")
auto_cache = UI.GetValue("Rage", "AUTOSNIPER", "Targeting", "Minimum damage")
return;
}
else
{
first = true;
}
if (isActive("Override min dmg"))
{
setValue("SCOUT", scout_value)
setValue("AWP", awp_value)
setValue("HEAVY PISTOL", heavy_value)
setValue("AUTOSNIPER", auto_value)
return;
}
else{
setValue("SCOUT", scout_cache)
setValue("HEAVY PISTOL", heavy_cache)
setValue("AWP", awp_cache)
setValue("AUTOSNIPER", auto_cache)
}
if (isActive("Override min dmg #2"))
{
setValue("SCOUT", scout_value2)
setValue("AWP", awp_value2)
setValue("HEAVY PISTOL", heavy_value2)
setValue("AUTOSNIPER", auto_value2)
}
else{
setValue("SCOUT", scout_cache)
setValue("HEAVY PISTOL", heavy_cache)
setValue("AWP", awp_cache)
setValue("AUTOSNIPER", auto_cache)
}
}
function indicator()
{
screen = Render.GetScreenSize()
wep = Entity.GetName(Entity.GetWeapon(Entity.GetLocalPlayer()))
x = screen[0]/2
y = screen[1]/2
heavy = " " + UI.GetValue("Rage", "HEAVY PISTOL", "Targeting", "Minimum damage")
scout = " " + UI.GetValue("Rage", "SCOUT", "Targeting", "Minimum damage")
awp = " " + UI.GetValue("Rage", "AWP", "Targeting", "Minimum damage")
auto = " " + UI.GetValue("Rage", "AUTOSNIPER", "Targeting", "Minimum damage")
var str = ""
if (UI.GetValue("Script items", "Display indicators") && Entity.IsValid(Entity.GetLocalPlayer()) && Entity.IsAlive(Entity.GetLocalPlayer()))
{
if (isHeavyPistol(wep))
{
str = heavy
}
else if(wep == "ssg 08")
{
str = scout
}
else if(wep == "awp")
{
str = awp
}
else if (isAutoSniper(wep))
{
str = auto
}
else
{
Render.String(x-26, y+31, 0, "adaptive", [0, 0, 0,255])
Render.String(x-27, y+30, 0, "adaptive", [128, 142, 255,255])
}
}
Render.String(x-11, y+31, 0, str, [0, 0, 0,255])
Render.String(x-12, y+30, 0, str, [128, 142, 255,255])
}
Cheat.RegisterCallback("Draw", "indicator")
Cheat.RegisterCallback("CreateMove", "onCM")
Последнее редактирование: