Jump to content

Featured Replies

Posted

Hey, can someone post a script that:

 

Binds a key to purchase a flashbang, then immediately tosses it?

Cs 1.6// GRENADES SPAM

//

alias +he "hegren;weapon_hegrenade;+attack"

alias -he "hegren;weapon_hegrenade;-attack"

alias +fb "flash;weapon_flashbang;+attack"

alias -fb "flash;weapon_flashbang;-attack"

alias +sg "sgren;weapon_smokegrenade;+attack"

alias -sg "sgren;weapon_smokegrenade;-attack"

//

bind "KEY" +he

bind "KEY" +fb

bind "KEY" +sg

 

Cs: Source// GRENADES SPAM

//

alias +he "buy hegren;use weapon_hegrenade;+attack"

alias -he "buy hegren;use weapon_hegrenade;-attack"

alias +fb "buy flash;use weapon_flashbang;+attack"

alias -fb "buy flash;use weapon_flashbang;-attack"

alias +sg "buy sgren;use weapon_smokegrenade;+attack"

alias -sg "buy sgren;use weapon_smokegrenade;-attack"

//

bind "KEY" +he

bind "KEY" +fb

bind "KEY" +sg

  • Author

What folder do i put this in?

I've never scripted for source before.

too tired to help all the way

 

change "KEY" to whatever you want ti to be on, like mwheelup, K, uparrow, whatever.

 

create an autoexec.cfg (text file, so edit it in notepad) and place in cfg folder

 

I dont have cs s setup so for example

 

HL2

 

C:\Program Files\Valve\Steam\SteamApps\STEAMACCOUNTNAME\half-life 2\hl2\cfg

 

meh :shifty:

Guest
This topic is now closed to further replies.