а точнее?Дайте мин дамаг который можно биндить на 2 кнопки
Например на первый бинд 5 дмг, а на второй 101 дмг.а точнее?
//by 6659#0735 || moonX
var original_dmg = true
UI.AddHotkey("MDamage override")
UI.AddSliderInt("Pistol mdmg", 0, 130)
UI.AddSliderInt("Heavy Pistols mdmg", 0, 130)
UI.AddSliderInt("Scout mdmg", 0, 130)
UI.AddSliderInt("AWP mdmg", 0, 130)
UI.AddSliderInt("AUTO mdmg", 0, 130)
UI.AddHotkey("HDamage override")
UI.AddSliderInt("Pistol hdmg", 0, 130)
UI.AddSliderInt("Heavy Pistols hdmg", 0, 130)
UI.AddSliderInt("Scout hdmg", 0, 130)
UI.AddSliderInt("AWP hdmg", 0, 130)
UI.AddSliderInt("AUTO hdmg", 0, 130)
function isPistol(name) {
if (name == "p2000" || name == "glock 18" || name == "dual berettas" || name == "usp s" || name == "five seven" || name == "p250" || name == "tec 9") {
return 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 bettermindmg()
{
if(UI.IsHotkeyActive("Misc", "JAVASCRIPT", "Script items", "MDamage override")) {
pm = UI.GetValue("Script items", "Pistol mdmg");
hpm = UI.GetValue("Script items", "Heavy Pistols mdmg");
sm = UI.GetValue("Script items", "Scout mdmg");
awm = UI.GetValue("Script items", "AWP mdmg");
am = UI.GetValue("Script items", "AUTO mdmg");
}
else if (UI.IsHotkeyActive("Misc", "JAVASCRIPT", "Script items", "HDamage override")) {
pm = UI.GetValue("Script items", "Pistol hdmg");
hpm = UI.GetValue("Script items", "Heavy Pistols hdmg");
sm = UI.GetValue("Script items", "Scout hdmg");
awm = UI.GetValue("Script items", "AWP hdmg");
am = UI.GetValue("Script items", "AUTO hdmg");
}
name = Entity.GetName(Entity.GetWeapon(Entity.GetLocalPlayer()))
if (UI.IsHotkeyActive("Misc", "JAVASCRIPT", "Script items", "MDamage override") || UI.IsHotkeyActive("Misc", "JAVASCRIPT", "Script items", "HDamage override"))
{
if (original_dmg)
{
pc = UI.GetValue("Rage", "PISTOL", "Minimum damage")
hpc = UI.GetValue("Rage", "HEAVY PISTOL", "Minimum damage")
scc = UI.GetValue("Rage", "SCOUT", "Minimum damage")
awpc = UI.GetValue("Rage", "AWP", "Minimum damage")
atc = UI.GetValue("Rage", "AUTOSNIPER", "Minimum damage")
original_dmg = false;
}
if (isPistol(name))
{
UI.SetValue("Rage", "PISTOL", "Minimum damage", pm)
}
if (isHeavyPistol(name))
{
UI.SetValue("Rage", "HEAVY PISTOL", "Minimum damage", hpm)
}
if (name == "ssg 08")
{
UI.SetValue("Rage", "SCOUT", "Minimum damage", sm)
}
if (name == "awp")
{
UI.SetValue("Rage", "AWP", "Minimum damage", awm)
}
if (isAutoSniper(name))
{
UI.SetValue("Rage", "AUTOSNIPER", "Minimum damage", am)
}
}
else
{
if (!original_dmg)
{
UI.SetValue("Rage", "PISTOL", "Minimum damage", pc)
UI.SetValue("Rage", "HEAVY PISTOL", "Minimum damage", hpc)
UI.SetValue("Rage", "SCOUT", "Minimum damage", scc)
UI.SetValue("Rage", "AWP", "Minimum damage", awpc)
UI.SetValue("Rage", "AUTOSNIPER", "Minimum damage", atc)
original_dmg = true;
}
}
}
Cheat.RegisterCallback("CreateMove", "bettermindmg")
осторожно, лютый говнокод
JavaScript://by 6659#0735 || moonX
Спасибо,попробуювроде как оно, должно работать, но я не ебу
осторожно, лютый говнокод
JavaScript://by 6659#0735 || moonX var original_dmg = true UI.AddHotkey("MDamage override") UI.AddSliderInt("Pistol mdmg", 0, 130) UI.AddSliderInt("Heavy Pistols mdmg", 0, 130) UI.AddSliderInt("Scout mdmg", 0, 130) UI.AddSliderInt("AWP mdmg", 0, 130) UI.AddSliderInt("AUTO mdmg", 0, 130) UI.AddHotkey("HDamage override") UI.AddSliderInt("Pistol hdmg", 0, 130) UI.AddSliderInt("Heavy Pistols hdmg", 0, 130) UI.AddSliderInt("Scout hdmg", 0, 130) UI.AddSliderInt("AWP hdmg", 0, 130) UI.AddSliderInt("AUTO hdmg", 0, 130) function isPistol(name) { if (name == "p2000" || name == "glock 18" || name == "dual berettas" || name == "usp s" || name == "five seven" || name == "p250" || name == "tec 9") { return 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 bettermindmg() { if(UI.IsHotkeyActive("Misc", "JAVASCRIPT", "Script items", "MDamage override")) { pm = UI.GetValue("Script items", "Pistol mdmg"); hpm = UI.GetValue("Script items", "Heavy Pistols mdmg"); sm = UI.GetValue("Script items", "Scout mdmg"); awm = UI.GetValue("Script items", "AWP mdmg"); am = UI.GetValue("Script items", "AUTO mdmg"); } else if (UI.IsHotkeyActive("Misc", "JAVASCRIPT", "Script items", "HDamage override")) { pm = UI.GetValue("Script items", "Pistol hdmg"); hpm = UI.GetValue("Script items", "Heavy Pistols hdmg"); sm = UI.GetValue("Script items", "Scout hdmg"); awm = UI.GetValue("Script items", "AWP hdmg"); am = UI.GetValue("Script items", "AUTO hdmg"); } name = Entity.GetName(Entity.GetWeapon(Entity.GetLocalPlayer())) if (UI.IsHotkeyActive("Misc", "JAVASCRIPT", "Script items", "MDamage override") || UI.IsHotkeyActive("Misc", "JAVASCRIPT", "Script items", "HDamage override")) { if (original_dmg) { pc = UI.GetValue("Rage", "PISTOL", "Minimum damage") hpc = UI.GetValue("Rage", "HEAVY PISTOL", "Minimum damage") scc = UI.GetValue("Rage", "SCOUT", "Minimum damage") awpc = UI.GetValue("Rage", "AWP", "Minimum damage") atc = UI.GetValue("Rage", "AUTOSNIPER", "Minimum damage") original_dmg = false; } if (isPistol(name)) { UI.SetValue("Rage", "PISTOL", "Minimum damage", pm) } if (isHeavyPistol(name)) { UI.SetValue("Rage", "HEAVY PISTOL", "Minimum damage", hpm) } if (name == "ssg 08") { UI.SetValue("Rage", "SCOUT", "Minimum damage", sm) } if (name == "awp") { UI.SetValue("Rage", "AWP", "Minimum damage", awm) } if (isAutoSniper(name)) { UI.SetValue("Rage", "AUTOSNIPER", "Minimum damage", am) } } else { if (!original_dmg) { UI.SetValue("Rage", "PISTOL", "Minimum damage", pc) UI.SetValue("Rage", "HEAVY PISTOL", "Minimum damage", hpc) UI.SetValue("Rage", "SCOUT", "Minimum damage", scc) UI.SetValue("Rage", "AWP", "Minimum damage", awpc) UI.SetValue("Rage", "AUTOSNIPER", "Minimum damage", atc) original_dmg = true; } } } Cheat.RegisterCallback("CreateMove", "bettermindmg")
Если что этот говнокод пастят пастеры в свои мега пастывроде как оно, должно работать, но я не ебу
осторожно, лютый говнокод
JavaScript://by 6659#0735 || moonX var original_dmg = true UI.AddHotkey("MDamage override") UI.AddSliderInt("Pistol mdmg", 0, 130) UI.AddSliderInt("Heavy Pistols mdmg", 0, 130) UI.AddSliderInt("Scout mdmg", 0, 130) UI.AddSliderInt("AWP mdmg", 0, 130) UI.AddSliderInt("AUTO mdmg", 0, 130) UI.AddHotkey("HDamage override") UI.AddSliderInt("Pistol hdmg", 0, 130) UI.AddSliderInt("Heavy Pistols hdmg", 0, 130) UI.AddSliderInt("Scout hdmg", 0, 130) UI.AddSliderInt("AWP hdmg", 0, 130) UI.AddSliderInt("AUTO hdmg", 0, 130) function isPistol(name) { if (name == "p2000" || name == "glock 18" || name == "dual berettas" || name == "usp s" || name == "five seven" || name == "p250" || name == "tec 9") { return 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 bettermindmg() { if(UI.IsHotkeyActive("Misc", "JAVASCRIPT", "Script items", "MDamage override")) { pm = UI.GetValue("Script items", "Pistol mdmg"); hpm = UI.GetValue("Script items", "Heavy Pistols mdmg"); sm = UI.GetValue("Script items", "Scout mdmg"); awm = UI.GetValue("Script items", "AWP mdmg"); am = UI.GetValue("Script items", "AUTO mdmg"); } else if (UI.IsHotkeyActive("Misc", "JAVASCRIPT", "Script items", "HDamage override")) { pm = UI.GetValue("Script items", "Pistol hdmg"); hpm = UI.GetValue("Script items", "Heavy Pistols hdmg"); sm = UI.GetValue("Script items", "Scout hdmg"); awm = UI.GetValue("Script items", "AWP hdmg"); am = UI.GetValue("Script items", "AUTO hdmg"); } name = Entity.GetName(Entity.GetWeapon(Entity.GetLocalPlayer())) if (UI.IsHotkeyActive("Misc", "JAVASCRIPT", "Script items", "MDamage override") || UI.IsHotkeyActive("Misc", "JAVASCRIPT", "Script items", "HDamage override")) { if (original_dmg) { pc = UI.GetValue("Rage", "PISTOL", "Minimum damage") hpc = UI.GetValue("Rage", "HEAVY PISTOL", "Minimum damage") scc = UI.GetValue("Rage", "SCOUT", "Minimum damage") awpc = UI.GetValue("Rage", "AWP", "Minimum damage") atc = UI.GetValue("Rage", "AUTOSNIPER", "Minimum damage") original_dmg = false; } if (isPistol(name)) { UI.SetValue("Rage", "PISTOL", "Minimum damage", pm) } if (isHeavyPistol(name)) { UI.SetValue("Rage", "HEAVY PISTOL", "Minimum damage", hpm) } if (name == "ssg 08") { UI.SetValue("Rage", "SCOUT", "Minimum damage", sm) } if (name == "awp") { UI.SetValue("Rage", "AWP", "Minimum damage", awm) } if (isAutoSniper(name)) { UI.SetValue("Rage", "AUTOSNIPER", "Minimum damage", am) } } else { if (!original_dmg) { UI.SetValue("Rage", "PISTOL", "Minimum damage", pc) UI.SetValue("Rage", "HEAVY PISTOL", "Minimum damage", hpc) UI.SetValue("Rage", "SCOUT", "Minimum damage", scc) UI.SetValue("Rage", "AWP", "Minimum damage", awpc) UI.SetValue("Rage", "AUTOSNIPER", "Minimum damage", atc) original_dmg = true; } } } Cheat.RegisterCallback("CreateMove", "bettermindmg")
ну так устроен круговорот жсЕсли что этот говнокод пастят пастеры в свои мега пасты
Проект предоставляет различный материал, относящийся к сфере киберспорта, программирования, ПО для игр, а также позволяет его участникам общаться на многие другие темы. Почта для жалоб: admin@yougame.biz