|
All configs go inside: C:\Valve\Steam\Steamapps\youremail\counter-strike\cstrike * Entering Commands *
- How buy scripting works in 1.6. First type which key that you want to bind (for this example we will use f1)
bind f1
- Now, decide which weapon you would like f1 to buy, we'll use the AK-47:
bind f1 "ak47"
Don't use uppercase letters like AK47 or M4A1 for the weapon names or they will not work
- And that's it...of course there's more things you can add such as buying Primary Ammo, Kevlar, Grenades, etc. So we'll do one so that we buy an AK-47, Primary Ammo, Kevlar, and a HE grenade:
bind f1 "ak47; primammo; vest; hegren"
*** Make sure to put a space after the ";" to separate different items ***
- You can also combine 2 different team specific weapons into the same binds. Like the AK-47 and M4A1:
bind f1 "ak47; m4a1; primammo; vest; hegren"
- The following formats can be used and your scripts will still function properly:
bind f1 "ak47; primammo; vest; hegren" Bind f1 "ak47; primammo; vest; hegren" bind "f1" "ak47; primammo; vest; hegren" Bind "f1" "ak47; primammo; vest; hegren"
- You can also add text headers in your userconfig in order to keep different types of binds separated and labeled. Just add "//" to the beginning to make sure that the game doesn't try to read it as a command. The following is an example:
//Weapon Binds bind f1 "ak47; m4a1; primammo; vest; hegren" bind f2 "sg552; aug; primammo; vest; hegren"
===================== * Weapon Bind Names * ===================== Here is the list of the weapons and equipment you can buy and their proper bind name.
- Pistols:
"Glock G18 Select Fire" - glock "HK USP .45 Tactical" - usp "Sig P228" - p228 "Desert Eagle" - deagle "FN Five-seveN" - fn57 "Dual Beretta 96G Elite" - elites
- Shotguns:
"Benelli M3 Super90" - m3 "Benelli XM1014" - xm1014
- Submachine Guns:
"Steyr Tactical Machine Pistol" - tmp "Ingram MAC-10" - mac10 "HK MP5-Navy" - mp5 "HK UMP45" - ump45 "FN P90" - p90
- Assault Rifles:
"IMI Galil" - galil "FA MAS" - famas "AK-47" - ak47 "Colt M4A1 Carbine" - m4a1 "Sig SG 552 Commando" - sg552 "Steyr AUG" - aug
- Sniper Rifles:
"Steyr Scout" - scout "Sig SG 550 Sniper" - sg550 "AI Arctic Warfare/Magnum" - awp "HK G3/SG-1 Sniper Rifle" - g3sg1
- Machine Gun:
"FN M249 Para" - m249
- Ammunition:
"Primary Ammo" - primammo "Secondary Ammo" - secammo
- Equipment:
"Kevlar Vest" - vest "Kevlar Vest & Helmet" - vesthelm "Flashbang" - flash "HE Grenade" - hegren "Smoke Grenade" - sgren "Defuse Kit" - defuser "NightVision Goggles" - nvgs "Tactical Shield" - shield Key Bind NamesHere is the list of the keyboard keys you can bind and their proper bind name [Esc ] [F1] [F2] [F3] [F4] [F5] [F6] [F7] [F8] [F9] [F10] [F11] [F12]
[`] [1] [2] [3] [4] [5] [6] [7] [8] [9] [0] [-] [=] [Backspace]
[ Tab ] [Q] [W] [E] [R] [T] [Y] [U] [I] [O] [P] [{] [}] [ \ ]
[ CAPS ] [A] [S] [D] [F] [G] [H] [J] [K] [L] [;] ['] [ Enter ]
[ Shift ] [Z] [X] [C] [V] [B] [N] [M] [,] [.] [/] [ Shift ]
[Ctrl] [N/A] [Alt] [ Space Bar ] [Alt] [N/A] [N/A] [Ctrl]
Keyboard Key Key Bind Name ------------ ------------- Space Bar - space Caps Lock - capslock Escape - escape F1 - f1 F2 - f2 F3 - f3 F4 - f4 F5 - f5 F6 - f6 F7 - f7 F8 - f8 F9 - f9 F10 - f10 F11 - f11 F12 - f12 Pause - pause Left Quote - ` Hyphen - - Equals Sign - = Backspace - backspace Tab Key - tab Left Bracket - ] Right Bracket - [ Forward Slash - / Semicolon - semicolon Right Quote - ' Back Slash - \ Shift Key - shift Enter - enter Comma - , Control - ctrl Alt - alt One - 1 Two - 2 Three - 3 Four - 4 Five - 5 Six - 6 Seven - 7 Eight - 8 Nine - 9 Zero - 0 A - a B - b C - c D - d E - e F - f G - g H - h I - i J - j K - k L - l M - m N - n O - o P - p Q - q R - r S - s T - t U - u V - v W - w X - x Y - y Z - z Up Arrow - uparrow Down Arrow - downarrow Right Arrow - rightarrow Left Arrow - leftarrow Insert - ins Home - home Page Up - pgup Page Down - pgdn Delete - del End - end Mouse Button 1 - mouse1 Mouse Button 2 - mouse2 Mouse Button 3 - mouse3 Mouse Button 4 - mouse4 Mouse Button 5 - mouse5 Mouse Wheel Up - mwheelup Mouse Wheel Down - mwheeldown
Keypad Key Key Bind Name ---------- ------------- 1 - kp_end 2 - kp_downarrow 3 - kp_pgdn 4 - kp_leftarrow 5 - kp_5 6 - kp_rightarrow 7 - kp_home 8 - kp_uparrow 9 - kp_pgup 0 - kp_ins + - kp_plus - - kp_minus / - kp_slash . - kp_del * - * Enter - kp_enter
* Important Notes
- Don't use uppercase letters for the keys or else your scripts may not function properly.
- If your scripts don't seem to be working, first make sure that you've setup your userconfig properly, then check spelling, and then format. Most errors are caused by misspelling.
- If you don't have enough money to buy all the items, the game will buy in the order that you have the weapons/equipment listed in your script.
|