CS 1.6 - Getting scripts working

Soldato
Joined
25 Oct 2007
Posts
6,911
Location
Los Angeles
Hi guys,

I'm sure this is an ez questions for those seasoned CS players. I'm using CS 1.6 via stream and want to get a couple of scripts working. They are:

Code:
//Fast Invprev, Invnext// by: submitted by: [URL="http://www.counter-script.net/index.php?id=108&UID=258"]Proji[/URL] 
Description:  This changes invprev(previous weapon)to a fastswitch command and the same for invnext(next weapon). Binded to suit mousewheel folks to change guns.

alias "+prev" "invprev;wait;+attack"
alias "+next" "invnext;wait;+attack"

bind "mwheelup" "+prev"
bind "mwheeldown" "+next"
and:

Code:
//Sniper- Awp Fire / Pistol/ Awp Fast Change// by: submitted by: [URL="http://www.counter-script.net/index.php?id=108&UID=115"]Rabid Llama[/URL] 
Description:  shoot ** awp then it switches to ** pistol fast then back to awp, giving less dying.
Bind the following aliases to make the script work:
bind a key to "fast"

alias dev0 "developer 0"
alias dev1 "developer 1"
hud_fastswitch 1
alias fast "faston"
 alias faston "bind mouse1 fastatt; dev1; echo Fast Sniper Attack *ON*; dev0; alias fast fastoff"
 alias fastoff "bind mouse1 +attack; dev1; echo Fast Sniper Attack *OFF*; dev0; alias fast faston"
 alias fastatt "+attack; wait; -attack; fson; slot2; slot1; fsoff"

 bind "kp_enter" "fast"
Now, i created a autoexec.cfg file in my cstrike folder and then pasted the above commands in. I then added the bind commands to my config.cfg. When i press the above bind buttons in my console it says unknown command "".

Any ideas?
 
Right so the quick switch command does work once, but then after it displays the following error in console:


Unknown command: -next
Unknown command: -prv
 
Yep, that worked like a charm. Does anyone have a good script for switching between weapons / grens? The one above simply switches between primary and secondary.
 
Back
Top Bottom