Search
Username:
Password:
Register or Reset Password
Remove the ads!
Awp autoswitch
Added by...
dylanm666
Author(s): dylanm666
Category: CS:S > Weapon Scripts
Notes/Usage Instructions:

None found
Script Code:
// This will automatically switch from your awp to your slot2 weapon back to the awp after you shoot when activated. Toggle on/off key is o/p
// Copy everything after this line into your autoexec until I say to stop.

// The aliases

alias w "wait"
alias w5 "w; w; w; w; w"
alias autoswitch "+attack; w5; w5; w5; w5; w5; -attack; w5; w5; w5; w5; w5; invnext; w; w; invprev"
alias autoswitchoff "bind MOUSE1 +attack; echo DylanM666's Awp auto weaponswitch script deactivated"
alias autoswitchon "bind MOUSE1 autoswitch; echo DylanM666's Awp auto weaponswitch script activated"

// The toggle

bind o "autoswitchon"
bind p "autoswitchoff"


// Stop copying, you're done. Now when you hit v it will activate/deactivate my autoswitch script.
// Note: This works for any gun not just the awp but it will switch much slower after the shot is fired because this is tuned to the awps standards.
// Please also note I have not tested this before so if the weapon is switching too slow or there is a problem please contact me on xfire at dylanm666. Thanks, and enjoy.
Added: 1 year ago
Feedback (9)
GrimReaper .
Fear the ReaperY2M
Posted 1 year ago
Description:
This is a sniper-previous weapon-sniper quickswitch script. "o" is to turn it on, "p" is to turn it off.

Problems I found:
W5 is already defined as 5 w's, so there shouldn't be 5 w5's as dangerousdude already found out.
But dangerousdude forgot one w5.
Here's a working one:

// The aliases

alias w "wait"
alias w5 "w; w; w; w; w"
alias autoswitch "+attack; w5; -attack; w5; invnext; w; w; invprev"
alias autoswitchoff "bind MOUSE1 +attack; echo DylanM666's Awp auto weaponswitch script deactivated"
alias autoswitchon "bind MOUSE1 autoswitch; echo DylanM666's Awp auto weaponswitch script activated"

// The toggle

bind o "autoswitchon"
bind p "autoswitchoff"
dangerousdude .
BananiteY2M
Posted 1 year ago
Hi I think it has to be like this

// The aliases

alias w "wait"
alias w5 "w; w; w; w; w"
alias autoswitch "+attack; w5; -attack; invnext; w; w; invprev"
alias autoswitchoff "bind MOUSE1 +attack; echo DylanM666's Awp auto weaponswitch script deactivated"
alias autoswitchon "bind MOUSE1 autoswitch; echo DylanM666's Awp auto weaponswitch script activated"

// The toggle

bind v "autoswitchon"
bind c "autoswitchoff"

But I still have a problem somethimes it wont shwitch back to my scout or awp. Maybe you can fix this??
Dangerous_Dude
- Bananite
dylanm666 .
Awp3r 4 lyf3Y2M
Posted 1 year ago
Try it now dangerous_dude, no guarantees though. Good luck :D
dangerousdude .
BananiteY2M
Posted 1 year ago
Hi now i have the problem when i shoot he switches to knife but does not switch back. And when I take my awp back, it keeps shooting. And dont press any key.. :s
please help again :p
- Bananite
dylanm666 .
Awp3r 4 lyf3Y2M
Posted 1 year ago
Dangerous dude, I have edited the script a bit as I made an error on it. Please try again now, best of luck. ~DylanM666
dangerousdude .
BananiteY2M
Posted 1 year ago
Please help me!!!
- Bananite
dangerousdude .
BananiteY2M
Posted 1 year ago
I have a problem. In my console comes: autoswitchon-off isn't a valid key. What should I do???
- Bananite
kfceater .
i needs a 6 digitY2M
Posted 1 year ago
Cant use this in scoutzknivez.
.
Soi soi soi soi soi soi soiY2M
Posted 1 year ago
Nice job.
Add Feedback
Provide constructive feedback. What is "constructive"?
You must login or register to access this!
Assessment
The community's verdict.
User Rating [+]
9/10
bScore
9.00/10
You cannot assess yet!
Moderating FPSB is in your hands - when you assess a submission your vote determines its success or failure.

To vote on this submission register or login.
Stamps
This script in a nutshell...
Laggy & Impractical
You cannot stamp yet!
Stamps let you apply characteristics to submissions to help others understand them.

To stamp this submission register or login.
Added by...
dylanm666 .
Awp3r 4 lyf3
Ranked 4251st ( 3) with 332 points.

[+] Donate
Vote for Submitter
Like this script? Vote dylanm666 . for one or more monthly awards.
You must login or register to access this!
Related Scripts
Want more? Find related scripts.