");
configWin.document.write("
");
// Blah blah blah
configWin.document.write("//Copiaza si lipeste acest lucru intr-un fisier text. ");
configWin.document.write("// Asigura-te ca are extensia .CFG, si pune ");
configWin.document.write("// in folderul tau cstrike. ");
configWin.document.write("// Scrie exec [fisierul tau].cfg in consola pentru al activa ");
configWin.document.write("// Creeat de HackKing @ tutorialecstrike.com/ unbindall
");
configWin.document.write("// Taste de miscare ");
// Movement
bindplus(document.theForm.forward, document.theForm.forward_alt);
bindplus(document.theForm.back, document.theForm.back_alt);
bindplus(document.theForm.moveleft, document.theForm.moveleft_alt);
bindplus(document.theForm.moveright, document.theForm.moveright_alt);
bindplus(document.theForm.duck, document.theForm.duck_alt);
bindplus(document.theForm.jump, document.theForm.jump_alt);
bindplus(document.theForm.speed, document.theForm.speed_alt);
walkTog(document.theForm.walk_toggle.value);
bindplus(document.theForm.use, document.theForm.use_alt);
spraylogo(document.theForm.spray.value, document.theForm.spray_alt.value);
camp(document.theForm.camp.value, document.theForm.sensitivity.value, document.theForm.camp_sens.value);
// Weapons
configWin.document.write("
// Taste de arme ");
bindplus(document.theForm.attack, document.theForm.attack_alt);
bindplus(document.theForm.attack2, document.theForm.attack2_alt);
bindplus(document.theForm.reload, document.theForm.reload_alt);
bind(document.theForm.drop, document.theForm.drop_alt);
drop_pistol(document.theForm.drop_pistol.value);
w_toggle(document.theForm.w_toggle.value);
bind(document.theForm.invnext, document.theForm.invnext_alt);
bind(document.theForm.invprev, document.theForm.invprev_alt);
flashlight(document.theForm.torch.value, document.theForm.torch_alt.value);
bind(document.theForm.slot1, document.theForm.slot1_alt);
bind(document.theForm.slot2, document.theForm.slot2_alt);
bind(document.theForm.slot3, document.theForm.slot3_alt);
bind(document.theForm.slot4, document.theForm.slot4_alt);
bind(document.theForm.slot5, document.theForm.slot5_alt);
bind(document.theForm.slot6, document.theForm.slot6_alt);
bind(document.theForm.slot7, document.theForm.slot7_alt);
bind(document.theForm.slot8, document.theForm.slot8_alt);
bind(document.theForm.slot9, document.theForm.slot9_alt);
bind(document.theForm.slot10, document.theForm.slot10_alt);
// Comms
configWin.document.write("
// Comunicare ");
bind(document.theForm.messagemode, document.theForm.messagemode_alt);
bind(document.theForm.messagemode2, document.theForm.messagemode2_alt);
bind(document.theForm.radio1, document.theForm.radio1_alt);
bind(document.theForm.radio2, document.theForm.radio2_alt);
bind(document.theForm.radio3, document.theForm.radio3_alt);
// Buy
configWin.document.write("
// Meniu Cumparare ");
bind(document.theForm.buy, document.theForm.buy_alt);
bind(document.theForm.buyammo1, document.theForm.buyammo1_alt);
bind(document.theForm.buyammo2, document.theForm.buyammo2_alt);
bind(document.theForm.buyequip, document.theForm.buyequip_alt);
autoArmour(document.theForm.autoarmour.value);
autoWeapon(document.theForm.autoweapon.value);
// Stats
configWin.document.write("
// Statistici ");
bind(document.theForm.chooseteam, document.theForm.chooseteam_alt);
bind(document.theForm.showscores, document.theForm.showscores_alt);
bind(document.theForm.timeleft, document.theForm.timeleft_alt);
// Other
configWin.document.write("
// Altele ");
bind(document.theForm.cancelselect, document.theForm.cancelselect_alt);
bind(document.theForm.toggleconsole, document.theForm.toggleconsole_alt);
bind(document.theForm.snapshot, document.theForm.snapshot_alt);
// Settings
configWin.document.write("
// Setari ");
setinfo(document.theForm.lefthand);
setinfo(document.theForm.vgui_menus);
check(document.theForm.hud_fastswitch);
check(document.theForm.hud_centerid);
set(document.theForm.sensitivity);
check(document.theForm.console);
add(document.theForm.jlook);
add(document.theForm.mlook);
set(document.theForm.volume);
set(document.theForm.bgmvolume);
set(document.theForm.suitvolume);
check(document.theForm.s_eax);
check(document.theForm.s_a3d);
check(document.theForm.hisound);
con_color(document.theForm.red.value, document.theForm.green.value, document.theForm.blue.value);
set(document.theForm.brightness);
set(document.theForm.gamma);
multicheck(document.theForm.fastsprites);
check(document.theForm.himodels);
check(document.theForm.cl_allowupload);
check(document.theForm.cl_download_ingame);
check(document.theForm.cl_allowdownload);
set(document.theForm.rate);
set(document.theForm.name);
set(document.theForm.mp_decals);
set(document.theForm.fps_max);
// Net Graph;
configWin.document.write("
// Net Graph ");
check(document.theForm.net_graph);
multicheck(document.theForm.net_graphpos);
set(document.theForm.net_graphwidth);
set(document.theForm.net_scale);
check(document.theForm.net_graphsolid);
}
// Binds for momentary action buttons
function bindplus(command, altCommand)
{
if (command.value != "")
configWin.document.write("bind " + command.value + " +" + command.name + " ");
if (altCommand.value != "")
configWin.document.write("bind " + altCommand.value + " +" + command.name + " ");
}
// Writes the bind function
function bind(command, altCommand)
{
if (command.value != "")
configWin.document.write("bind " + command.value + " " + command.name + " ");
if (altCommand.value != "")
configWin.document.write("bind " + altCommand.value + " " + command.name + " ");
}
// The Walk Toggle alias
function walkTog(key)
{
if (key != "")
{
text = "// Walk Toggle Alias " +
"alias walk_toggle \"developer 1; +speed; echo Walk Mode; bind " +
key + " run; developer 0\" ";
configWin.document.write(text);
text = "alias run \"developer 1; -speed; echo Run Mode; bind " +
key + " walk_toggle developer 0\" " +
"bind " + key + " walk_toggle ";
configWin.document.write(text);
}
}
// The Spraylogo bind
function spraylogo(key, altKey)
{
if (key != "")
configWin.document.write("bind " + key + " \"impulse 201\" ");
if (altKey != "")
configWin.document.write("bind " + altKey + " \"impulse 201\" ");
}
// The Torch bind
function flashlight(key, altKey)
{
if (key != "")
configWin.document.write("bind " + key + " \"impulse 100\" ");
if (altKey != "")
configWin.document.write("bind " + altKey + " \"impulse 100\" ");
}
// The Camp alias
function camp(key, sensitivity, camp_sens)
{
if (key != "")
{
text = "// Camping Git alias " +
"alias +camp \"developer 1; echo Camping...; +duck; sensitivity ";
if (camp_sens != "")
text = text + camp_sens;
else
text = text + "5";
text = text + "; sensitivity; developer 0\" " +
"alias -camp \"developer 1; echo Standing; -duck; sensitivity ";
if (sensitivity != "")
text = text + sensitivity;
else
text = text + "10"
text = text + "; sensitivity; developer 0\" " +
"bind " + key + " +camp ";
configWin.document.write(text);
}
}
// Weapon Toggle alias
function w_toggle(key)
{
if (key != "")
{
text = "// Weapon Toggle Alias " +
"alias w_toggle \"slot2;+attack;wait;-attack;wait;bind " +
key + " prim_weap\" " +
"alias prim_weap \"slot1;+attack;wait;-attack;wait;bind " +
key + " w_toggle\" " +
"bind " + key + " w_toggle";
configWin.document.write(text);
}
}
// The pistol drop alias
function drop_pistol(key)
{
if (key != "" )
{
text = "// Pistol Drop Alias. " +
"alias pistol_drop \"slot2; wait; +attack; wait; -attack; drop\" " +
"bind " + key + " pistol_drop ";
configWin.document.write(text);
}
}
// Auto Armour Buy
function autoArmour(key)
{
if (key != "" )
{
text = "// Auto Amour Buy " +
"alias armour_buy \"buyequip; wait; slot2; wait; buyequip; slot1\" " +
"bind " + key + " armour_buy "
configWin.document.write(text)
}
}
// Auto Weapon Buy
function autoWeapon(key)
{
if (key != "" )
{
text = "// Auto Weapon Buy " +
"alias buyAug \"buy; wait; slot4; wait; slot4\" " +
"alias buyCommando \"buy; wait; slot4; wait; slot2\" " +
"alias buyM4 \"buy; wait; slot4; wait; slot3\" " +
"alias buyAK47 \"buy; wait; slot4; wait; slot1\" " +
"alias buyMP5 \"buy; wait; slot3; wait; slot1\" " +
"alias weapon_buy \"buyAug; wait; buyCommando; wait; buyM4; wait; buyAK47; wait; buyMP5\" " +
"bind " + key + " weapon_buy "
configWin.document.write(text);
}
}
// Writes the setinfo command
function setinfo(command)
{
if (eval("command[0].checked == true") || eval("command[1].checked == true"))
{
if (eval("command[0].checked == true"))
configWin.document.write("setinfo " + command[0].name + " 1 ")
if (eval("command[1].checked == true"))
configWin.document.write("setinfo " + command[1].name + " 0 ")
}
}
// Writes the on/off settings
function check(command)
{
if (eval("command[0].checked == true") || eval("command[1].checked == true"))
{
if (eval("command[0].checked == true"))
configWin.document.write(command[0].name + " 1 ")
if (eval("command[1].checked == true"))
configWin.document.write(command[1].name + " 0 ")
}
}
// Writes the multiple checked settings
function multicheck(command)
{
if (eval("command[0].checked == true") || eval("command[1].checked == true") || eval("command[2].checked == true"))
{
if (eval("command[0].checked == true"))
configWin.document.write(command[0].name + " 0 ")
if (eval("command[1].checked == true"))
configWin.document.write(command[1].name + " 2 ")
if (eval("command[2].checked == true"))
configWin.document.write(command[2].name + " 1 ")
}
}
// Sets a variable to a command
function set(command)
{
if (command.value != "" )
configWin.document.write(command.name + " " + command.value + " ");
}
// Adds the command if it is checked
function add(command)
{
if (eval("command[0].checked == true") || eval("command[1].checked == true"))
{
if (eval("command[0].checked == true"))
configWin.document.write("+" + command[0].name + " ")
if (eval("command[1].checked == true"))
configWin.document.write("+" + command[1].name + " 0 ")
}
}
// Sets the con_color variable
function con_color(red, green, blue)
{
if ((red != "") || (green != "") || (blue != ""))
{
if (red == "")
red = 0;
if (green == "")
green = 0;
if (blue == "")
blue = 0;
configWin.document.write("con_color \"" + red + " " + green + " " + blue + "\" ");
}
}
//-->