Forums.Counter-Strike.com | Counter-Strike Community Forums

Go Back   Forums.Counter-Strike.com | Counter-Strike Community Forums > Counter Strike > Editing & Modification > Configs
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Free Clan 

Websites Hosting
Reply
 
LinkBack Thread Tools Search this Thread
Old 07-29-2008, 07:39 AM   #1 (permalink)
SantaClaws
Member
Hostage
 
Join Date: Jul 2008
Posts: 25
Default Help with a small script

I'm trying to make a script, it's looking like this:

alias "+pickup" "_cl_autowepswitch 1;drop"
alias "-pickup" "wait;wait;wait;_cl_autowepswitch 0"
bind g +pickup

When I drop a weapon and pick a new one up, the script makes sure that I change to the newly picked up weapon instantly. While if I'm just walking with a gun and accidently walk over a gun, it will not swap weapon.

The problem is in the "+pickup" alias. the "drop" command executes before the "_cl_autowepswitch 1", so it doesn't switch to the gun I picked up. What should I do ?!

thanks in advance
SantaClaws is offline   Reply With Quote
Old 07-29-2008, 01:08 PM   #2 (permalink)
SantaClaws
Member
Hostage
 
Join Date: Jul 2008
Posts: 25
Default Re: Help with a small script

Problem solved, I just added a little "wait" in between so it looks like this:

alias "+pickup" "_cl_autowepswitch 1;wait;drop"
alias "-pickup" "wait;wait;wait;_cl_autowepswitch 0"
bind g +pickup

Try it if you want, it works great. Give credits to R-NG | Santa please :P
SantaClaws is offline   Reply With Quote
Old 07-29-2008, 01:11 PM   #3 (permalink)
crazy_bode
Member
Hostage
 
Join Date: Jul 2008
Posts: 10
Default Re: Help with a small script

o.O
crazy_bode is offline   Reply With Quote
Old 07-31-2008, 03:10 AM   #4 (permalink)
SantaClaws
Member
Hostage
 
Join Date: Jul 2008
Posts: 25
Default Re: Help with a small script

Hey guys, making a new script got a problem though so thought I would just use the old thread.
I have this alias "w200;+duck;wait;-duck". It doesn't matter what it does for now, all I wanna know is, how I can attach this to a key so it will go in a loop while holding down a key untill I release that key again ?

I guess it would be something like bind "key" +aliasname - but it doesn't seem to loop? :S
SantaClaws is offline   Reply With Quote
Old 08-01-2008, 12:48 PM   #5 (permalink)
SantaClaws
Member
Hostage
 
Join Date: Jul 2008
Posts: 25
Default Re: Help with a small script

I figured it out =) so nvm
SantaClaws is offline   Reply With Quote
Old 11-19-2008, 04:51 PM   #6 (permalink)
Creativerizwan
Member
Hostage
 
Join Date: Nov 2008
Posts: 3
Default Re: Help with a small script

how to apply this command?
Creativerizwan is offline   Reply With Quote
Old 11-19-2008, 05:52 PM   #7 (permalink)
Heidymus
Member
Da Bomb
 
Heidymus's Avatar
 
Join Date: Sep 2008
Location: Miami, FL
Posts: 522
Default Re: Help with a small script

You have to put it in a cfg.
__________________
Website: www.xsagaming.com (we have an arcade with Tetris, Space Invaders, Asteroids and a few other games for bored people )

CSS 24/7 Scoutzknivez Server IP: sk.xsagaming.com
CSS 24/7 De_dust2 Server IP: cal.xsagaming.com
Vent Server IP: voice500.counter-strike.com Port: 4497

Need a FREE Ventrilo server for your clan? Please read: http://forums.counter-strike.com/gen...html#post33670

* * * Yes, I'm a bit of an insomniac * * *
Heidymus is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Buy Script Error SuicideFenix Binds 7 08-02-2008 04:52 AM
need a lil help with a script zombles Configs 4 11-05-2007 11:15 AM
how to make script tag right align? combenetorg Web Design 4 01-18-2007 10:09 PM
All Players Script Help kbadco CS: Source 2 12-20-2006 05:06 PM
Best newsletter script ? Guilty Web Design 0 11-01-2006 06:16 AM


All times are GMT -5. The time now is 11:33 AM.



Powered by vBulletin Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0 RC5
Free Clan Websites and Template Hosting