UI.AddLabel(" Manifest-Cord");
UI.AddLabel(" By - SAYRUS#7950");
UI.AddLabel("___________________________________________");
//=========================================================\\
// Дроп даун
UI.AddDropdown( "Settings", [ "Rage", "Anti-Aim", "Visual", "Misc" ] );
//Функции(ну всмысле чекбоксы):
UI.AddCheckbox("Rage");
UI.AddCheckbox("Anti-Aim");
UI.AddCheckbox("Visual");
UI.AddCheckbox("Misc");
// Функция
function menu(){
UI.SetEnabled("Script items", "Rage", false)
UI.SetEnabled("Script items", "Anti-Aim", false)
UI.SetEnabled("Script items", "Visual", false)
UI.SetEnabled("Script items", "Misc", false)
}
if(UI.GetValue("Script items", "Settings") == 0){
// Rage
//сюда пишешь тоже самое заменяя фолс на тру (0- 1 секция - раге 2- визуалс итд. ну ты понял)
UI.SetEnabled("Script items", "Rage", true)
}
if(UI.GetValue("Script items", "Settings") == 1){
// Anti-Aim
//сюда также как и в тексте 1 пункта
UI.SetEnabled("Script items", "Anti-Aim", true)
}
if(UI.GetValue("Script items", "Settings") == 2){
// Visual
UI.SetEnabled("Script items", "Visual", true)
//также
}
if(UI.GetValue("Script items", "Settings") == 3){
// Misc
UI.SetEnabled("Script items", "Misc", true)
// ну ты понял
}
Cheat.RegisterCallback("Draw","menu");
// Функции которые функции:
function AntiAim(){
UI.AddLabel(" Manifest-Cord");
UI.AddLabel(" By - SAYRUS#7950");
UI.AddLabel("___________________________________________");
//=========================================================\\
// Дроп даун
UI.AddDropdown( "Settings", [ "Rage", "Anti-Aim", "Visual", "Misc" ] );
//Функции(ну всмысле чекбоксы):
UI.AddCheckbox("Rage");
UI.AddCheckbox("Anti-Aim");
UI.AddCheckbox("Visual");
UI.AddCheckbox("Misc");
// Функция
function menu(){
UI.SetEnabled("Script items", "Rage", false)
UI.SetEnabled("Script items", "Anti-Aim", false)
UI.SetEnabled("Script items", "Visual", false)
UI.SetEnabled("Script items", "Misc", false)
}
if(UI.GetValue("Script items", "Settings") == 0){
// Rage
//сюда пишешь тоже самое заменяя фолс на тру (0- 1 секция - раге 2- визуалс итд. ну ты понял)
UI.SetEnabled("Script items", "Rage", true)
}
if(UI.GetValue("Script items", "Settings") == 1){
// Anti-Aim
//сюда также как и в тексте 1 пункта
UI.SetEnabled("Script items", "Anti-Aim", true)
}
if(UI.GetValue("Script items", "Settings") == 2){
// Visual
UI.SetEnabled("Script items", "Visual", true)
//также
}
if(UI.GetValue("Script items", "Settings") == 3){
// Misc
UI.SetEnabled("Script items", "Misc", true)
// ну ты понял
}
Cheat.RegisterCallback("Draw","menu");
// Функции которые функции:
UI.AddCheckbox("Low delta");
UI.AddDropdown( "Low delta type", [ "Custom", "On key" ] );
const lowdelta_modes = UI.AddMultiDropdown("Low delta modes", [ "Slow walk", "Low HP", "Standing" ]);
UI.AddHotkey("Low delta on key");
function SetEnabled()
{
if (UI.GetValue("Misc", "JAVASCRIPT", "Script items", "Low delta"))
{
UI.SetEnabled("Misc", "JAVASCRIPT", "Script items", "Low delta type", 1)
}
else
{
UI.SetEnabled("Misc", "JAVASCRIPT", "Script items", "Low delta type", 0)
}
if (UI.GetValue("Misc", "JAVASCRIPT", "Script items", "Low delta type") == 0 && UI.GetValue("Misc", "JAVASCRIPT", "Script items", "Low delta"))
{
UI.SetEnabled("Misc", "JAVASCRIPT", "Script items", "Low delta modes", 1)
UI.SetEnabled("Misc", "JAVASCRIPT", "Script items", "Low delta on key", 0)
}
else if (UI.GetValue("Misc", "JAVASCRIPT", "Script items", "Low delta type") == 1 && UI.GetValue("Misc", "JAVASCRIPT", "Script items", "Low delta"))
{
UI.SetEnabled("Misc", "JAVASCRIPT", "Script items", "Low delta modes", 0)
UI.SetEnabled("Misc", "JAVASCRIPT", "Script items", "Low delta on key", 1)
}
else
{
UI.SetEnabled("Misc", "JAVASCRIPT", "Script items", "Low delta modes", 0)
UI.SetEnabled("Misc", "JAVASCRIPT", "Script items", "Low delta on key", 0)
}
}
function get_velocity(index)
{
var velocity = Entity.GetProp(index, "CBasePlayer", "m_vecVelocity[0]");
return Math.sqrt(velocity[0] * velocity[0] + velocity[1] * velocity[1]);
}
function get_health(index)
{
health_override = Entity.GetProp(index, "CBasePlayer", "m_iHealth");
return health_override;
}
function Low_delta()
{
localplayer_index = Entity.GetLocalPlayer( );
const lowdelta_dropdown_value = UI.GetValue.apply(null, lowdelta_modes);
var velocity = get_velocity(localplayer_index)
var health = get_health(localplayer_index)
var LowHP = false
var SlowWalk = false
var Standing = false
var Onkey = false
if (UI.GetValue("Misc", "JAVASCRIPT", "Script items", "Low delta") && UI.GetValue("Misc", "JAVASCRIPT", "Script items", "Low delta type") == 0)
{
if (lowdelta_dropdown_value & (1 << 0) && UI.IsHotkeyActive("Anti-Aim", "Extra", "Slow walk"))
SlowWalk = true
else
SlowWalk = false
if (lowdelta_dropdown_value & (1 << 1) && health < 50)
LowHP = true
else
LowHP = false
if (lowdelta_dropdown_value & (1 << 2) && velocity < 3)
Standing = true
else
Standing = false
}
else if (UI.GetValue("Misc", "JAVASCRIPT", "Script items", "Low delta") && UI.GetValue("Misc", "JAVASCRIPT", "Script items", "Low delta type") == 1)
{
if (UI.IsHotkeyActive("Misc", "JAVASCRIPT", "Script items", "Low delta on key"))
Onkey = true
else
Onkey = false
}
if (Standing == true || LowHP == true || SlowWalk == true || Onkey == true && UI.GetValue("Misc", "JAVASCRIPT", "Script items", "Low delta"))
{
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", "Rage Anti-Aim", "Yaw offset", 0);
AntiAim.SetOverride(0);
}
}
function drawString()
{
const fontpixel = Render.AddFont( "Verdana", 10, 100);
const lowdelta_dropdown_value = UI.GetValue.apply(null, lowdelta_modes);
var SFOnkey = false
var screen_size = Global.GetScreenSize();
localplayer_index = Entity.GetLocalPlayer( );
localplayer_alive = Entity.IsAlive( localplayer_index );
SlowWalk = false
LowHP = false
Standing = false
Onkey = false
if (UI.GetValue("Misc", "JAVASCRIPT", "Script items", "Low delta") && UI.GetValue("Misc", "JAVASCRIPT", "Script items", "Low delta type") == 0)
{
if (lowdelta_dropdown_value & (1 << 0) && UI.IsHotkeyActive("Anti-Aim", "Extra", "Slow walk"))
SlowWalk = true
else
SlowWalk = false
if (lowdelta_dropdown_value & (1 << 1) && health < 50)
LowHP = true
else
LowHP = false
if (lowdelta_dropdown_value & (1 << 2) && velocity < 3)
Standing = true
else
Standing = false
}
else if (UI.GetValue("Misc", "JAVASCRIPT", "Script items", "Low delta") && UI.GetValue("Misc", "JAVASCRIPT", "Script items", "Low delta type") == 1)
{
if (UI.IsHotkeyActive("Misc", "JAVASCRIPT", "Script items", "Low delta on key"))
Onkey = true
else
Onkey = false
}
if (Standing == true || LowHP == true || SlowWalk == true || Onkey == true)
{
drawIND = true
}
else
{
drawIND = false
}
if (drawIND == true && localplayer_alive == true && UI.GetValue("Misc", "JAVASCRIPT", "Script items", "Low delta") == true)
{
Render.StringCustom(screen_size[0] /2 , screen_size[1] /2 +32, 1, " LOW DELTA", [ 163, 180, 255, 255 ], fontpixel );
}
}
Global.RegisterCallback("Draw", "drawString");
Global.RegisterCallback("Draw", "SetEnabled");
Cheat.RegisterCallback("CreateMove", "Low_delta");
}
//функтион
Что тут не правильно?