-
Автор темы
- #1
JavaScript:
UI.AddSubTab( ["Visuals", "SUBTAB_MGR"], "Warmup")
UI.AddCheckbox( ["Visuals", "Warmup", "SHEET_MGR", "Warmup"], "Load warmup settings")
UI.AddCheckbox( ["Visuals", "Warmup", "SHEET_MGR", "Warmup"], "Godmode")
UI.AddCheckbox( ["Visuals", "Warmup", "SHEET_MGR", "Warmup"], "Add bot to CT team")
UI.AddCheckbox( ["Visuals", "Warmup", "SHEET_MGR", "Warmup"], "Add bot to T team")
UI.AddCheckbox( ["Visuals", "Warmup", "SHEET_MGR", "Warmup"], "Kick bots")
UI.AddCheckbox( ["Visuals", "Warmup", "SHEET_MGR", "Warmup"], "Rethrow last nade (JS Keys bind)")
UI.AddCheckbox( ["Visuals", "Warmup", "SHEET_MGR", "Warmup"], "Mirage")
UI.AddCheckbox( ["Visuals", "Warmup", "SHEET_MGR", "Warmup"], "Dust 2")
UI.AddCheckbox( ["Visuals", "Warmup", "SHEET_MGR", "Warmup"], "Overpass")
UI.AddCheckbox( ["Visuals", "Warmup", "SHEET_MGR", "Warmup"], "Vertigo")
UI.AddCheckbox( ["Visuals", "Warmup", "SHEET_MGR", "Warmup"], "Office")
UI.AddCheckbox( ["Visuals", "Warmup", "SHEET_MGR", "Warmup"], "Inferno")
UI.AddCheckbox( ["Visuals", "Warmup", "SHEET_MGR", "Warmup"], "Nuke")
UI.AddCheckbox( ["Visuals", "Warmup", "SHEET_MGR", "Warmup"], "Cobblestone")
UI.AddCheckbox( ["Visuals", "Warmup", "SHEET_MGR", "Warmup"], "Shortdust")
UI.AddHotkey(["Config", "Scripts", "JS Keybinds"], "Rethrow nade", "Rethrow nade")
Cheat.ExecuteCommand("sv_cheats 1")
Cheat.ExecuteCommand("sv_lan 1")
function warmup() {
if (UI.GetValue(["Visuals", "Warmup", "SHEET_MGR", "Warmup", "Load warmup settings"])) {
Cheat.ExecuteCommand("mp_roundtime_defuse 60")
Cheat.ExecuteCommand("sv_infinite_ammo 1")
Cheat.ExecuteCommand("mp_freezetime 0")
Cheat.ExecuteCommand("mp_maxmoney 16000")
Cheat.ExecuteCommand("mp_startmoney 16000")
Cheat.ExecuteCommand("mp_maxrounds 999")
Cheat.ExecuteCommand("mp_buy_anywhere 1")
Cheat.ExecuteCommand("mp_buytime 9999999999999")
Cheat.ExecuteCommand("sv_airaccelerate 100")
Cheat.ExecuteCommand("mp_restartgame 1")
Cheat.ExecuteCommand("clear")
UI.SetValue(["Visuals", "Warmup", "SHEET_MGR", "Warmup", "Load warmup settings"], 0);
}
if (UI.GetValue(["Visuals", "Warmup", "SHEET_MGR", "Warmup", "Godmode"])) {
Cheat.ExecuteCommand("god")
UI.SetValue(["Visuals", "Warmup", "SHEET_MGR", "Warmup", "Godmode"], 0);
}
if (UI.GetValue(["Visuals", "Warmup", "SHEET_MGR", "Warmup", "Mirage"])) {
Cheat.ExecuteCommand("map de_mirage")
UI.SetValue(["Visuals", "Warmup", "SHEET_MGR", "Warmup", "Mirage"], 0);
}
if (UI.GetValue(["Visuals", "Warmup", "SHEET_MGR", "Warmup", "Dust 2"])) {
Cheat.ExecuteCommand("map de_dust2")
UI.SetValue(["Visuals", "Warmup", "SHEET_MGR", "Warmup", "Dust 2"], 0);
}
if (UI.GetValue(["Visuals", "Warmup", "SHEET_MGR", "Warmup", "Overpass"])) {
Cheat.ExecuteCommand("map de_overpass")
UI.SetValue(["Visuals", "Warmup", "SHEET_MGR", "Warmup", "Overpass"], 0);
}
if (UI.GetValue(["Visuals", "Warmup", "SHEET_MGR", "Warmup", "Vertigo"])) {
Cheat.ExecuteCommand("map de_vertigo")
UI.SetValue(["Visuals", "Warmup", "SHEET_MGR", "Warmup", "Vertigo"], 0);
}
if (UI.GetValue(["Visuals", "Warmup", "SHEET_MGR", "Warmup", "Office"])) {
Cheat.ExecuteCommand("map cs_office")
UI.SetValue(["Visuals", "Warmup", "SHEET_MGR", "Warmup", "Office"], 0);
}
if (UI.GetValue(["Visuals", "Warmup", "SHEET_MGR", "Warmup", "Inferno"])) {
Cheat.ExecuteCommand("map de_inferno")
UI.SetValue(["Visuals", "Warmup", "SHEET_MGR", "Warmup", "Inferno"], 0);
}
if (UI.GetValue(["Visuals", "Warmup", "SHEET_MGR", "Warmup", "Nuke"])) {
Cheat.ExecuteCommand("map de_nuke")
UI.SetValue(["Visuals", "Warmup", "SHEET_MGR", "Warmup", "Nuke"], 0);
}
if (UI.GetValue(["Visuals", "Warmup", "SHEET_MGR", "Warmup", "Cobblestone"])) {
Cheat.ExecuteCommand("map de_cbble")
UI.SetValue(["Visuals", "Warmup", "SHEET_MGR", "Warmup", "Cobblestone"], 0);
}
if (UI.GetValue(["Visuals", "Warmup", "SHEET_MGR", "Warmup", "Shortdust"])) {
Cheat.ExecuteCommand("map de_shortdust")
UI.SetValue(["Visuals", "Warmup", "SHEET_MGR", "Warmup", "Shortdust"], 0);
}
if (UI.GetValue(["Visuals", "Warmup", "SHEET_MGR", "Warmup", "Add bot to T team"])) {
Cheat.ExecuteCommand("bot_add_t")
UI.SetValue(["Visuals", "Warmup", "SHEET_MGR", "Warmup", "Add bot to T team"], 0);
}
if (UI.GetValue(["Visuals", "Warmup", "SHEET_MGR", "Warmup", "Kick bots"])) {
Cheat.ExecuteCommand("bot_kick")
UI.SetValue(["Visuals", "Warmup", "SHEET_MGR", "Warmup", "Kick bots"], 0);
}
if (UI.GetValue(["Visuals", "Warmup", "SHEET_MGR", "Warmup", "Add bot to CT team"])) {
Cheat.ExecuteCommand("bot_add_ct")
UI.SetValue(["Visuals", "Warmup", "SHEET_MGR", "Warmup", "Add bot to CT team"], 0);
}
if (UI.GetValue(["Visuals", "Warmup", "SHEET_MGR", "Warmup", "Rethrow last nade (JS Keys bind)"])) {
Cheat.ExecuteCommand("sv_rethrow_last_grenade")
UI.SetValue(["Visuals", "Warmup", "SHEET_MGR", "Warmup", "Rethrow last nade (JS Keys bind)"], 0);
}
if (UI.GetValue(["Config", "Scripts", "JS Keybinds", "Rethrow nade"])) {
UI.SetValue(["Visuals", "Warmup", "SHEET_MGR", "Warmup", "Rethrow last nade (JS Keys bind)"], 1);
} else {
UI.SetValue(["Visuals", "Warmup", "SHEET_MGR", "Warmup", "Rethrow last nade (JS Keys bind)"], 0);
}
}
Cheat.RegisterCallback("CreateMove", "warmup");