![]() |
|
|||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread |
|
|
#1 (permalink) |
|
Member
Hostage
Join Date: Jul 2008
Posts: 25
|
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 |
|
|
|
|
|
#2 (permalink) |
|
Member
Hostage
Join Date: Jul 2008
Posts: 25
|
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 |
|
|
|
|
|
#4 (permalink) |
|
Member
Hostage
Join Date: Jul 2008
Posts: 25
|
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 |
|
|
|
|
|
#7 (permalink) |
|
Member
Da Bomb
Join Date: Sep 2008
Location: Miami, FL
Posts: 522
|
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 * * *
|
|
|
|
![]() |
| Thread Tools | Search this Thread |
|
|
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 |