Jump to content

Featured Replies

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

  • Author
can u make it so that it buys the nade then thros and repeats?
um what about one for source. i want to use it in a server.

 

I rewrote it with the least amount of effort, enjoy:

 

alias hegren "hegrenade"
alias flash "flashbang"
alias sgren "smokegrenade"

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

 

Not sure if it works or not, I don't have Source. If it happens to not work just ask me to fix it...

i THINK that with source it needs to be written like this.

 

alias hegren "hegrenade"
alias flash "flashbang"
alias sgren "smokegrenade"

alias +he "hegren;use weapon_hegrenade;+attack"
alias -he "hegren;use weapon_hegrenade;-attack"
alias +fb "flash;use weapon_flashbang;+attack"
alias -fb "flash;use weapon_flashbang;-attack"
alias +sg "sgren;use weapon_smokegrenade;+attack"
alias -sg "sgren;use weapon_smokegrenade;-attack"

bind "KEY" +he
bind "KEY" +fb
bind "KEY" +sg

 

Im not 100% sure but i was reading on a script site that it needs to be done like that. Thats how i done it anyway on my nade script but not sure if it works...never tried it.

i THINK that with source it needs to be written like this.

 

...snip...

 

Yeah, you're right. I generally don't script for Source but will upon request or if i'm bored...

 

Thanks for correcting that and sorry about the mistake, like i've said before, I don't play Source. :happysad:

yeh but this guy wants to buy throw, rebuy throw and so forth

 

yea you fucking replace the command

for instance:

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

to

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

FUCK i didnt notice that in the code. 1.6 doesnt need to use buy hegrenade, in source u do

 

UPDATED CODE:

 


alias +he "buy hegrenade;use weapon_hegrenade;+attack"
alias -he "buy hegrenade;use weapon_hegrenade;-attack"
alias +fb "buy flashbang;use weapon_flashbang;+attack"
alias -fb "buy flashbang;use weapon_flashbang;-attack"
alias +sg "buy smokegrenade;use weapon_smokegrenade;+attack"
alias -sg "buy smokegrenade;use weapon_smokegrenade;-attack"

bind "KEY" +he
bind "KEY" +fb
bind "KEY" +sg

Wow, I guess I really didn't know how to script for Source that well at all... I always forget all the changes they made. I should really get a better computer so I can play it better.

with the updated code it only buys, throwing doesnt work well atleast for me

i just have to do it myself no worries

but it give a message that says unknown command -fb

Guest
This topic is now closed to further replies.