Forum

> > CS2D > General > making scripts
Forums overviewCS2D overviewGeneral overviewLog in to reply

English making scripts

8 replies
To the start Previous 1 Next To the start

old making scripts

The G-Man
User Off Offline

Quote
is there a way to bind a single key to use 2 or more commands?

like buying an ak47 + he grenade with one key.

old Re: making scripts

lenz-_-
User Off Offline

Quote
there was a thread for such things but it it somewhere far
there was script that maked this...
i forgot the technique..

old Re: making scripts

DC
Admin Off Offline

Quote
its mostly like scripting in cs!
I think this should work:
bind "KEYNAME" "ak47; hegren"

old Re: making scripts

The G-Man
User Off Offline

Quote
thanks! forgot to rtfm.

i tried setting the default radio keys like in the other cs games but get access memory violation.

old Re: making scripts

Guest

Quote
yes there is...

in the console type in


bind " any key here " "buy slot4 slot1 buy slot8 slot 4"

That should give an AK-47 and a H.E. Grenade.

where it says any key here, put in... any key.

old Re: making scripts

Diamond
COMMUNITY BANNED Off Offline

Quote
i want a script that allows you to have:

F1=scout,HE,defuse kit,full ammo
F2=ak-47,HE,deuse kit, full ammo
F3=Deagle,HE,2 Flashes,Smoke,flare, full ammo
F4=AWP,defuse kit, full ammo

old Buyscript.

KimKat
GAME BANNED Off Offline

Quote
D1aMoNd_ has written
i want a script that allows you to have:

F1=scout,HE,defuse kit,full ammo
F2=ak-47,HE,deuse kit, full ammo
F3=Deagle,HE,2 Flashes,Smoke,flare, full ammo
F4=AWP,defuse kit, full ammo


I know how to make one.
Enter this in the autoexec.cfg in your CS2D folder.

bind "F1" "scout; he; defuser; primammo; secammo"
bind "F2" "ak47; he; defuser; primammo; secammo"
bind "F3" "deagle; he; flash; sgren; fgren; primammo; secammo"
bind "F4" "awp; defuser; primammo; secammo"

And you got that done.
To the start Previous 1 Next To the start
Log in to replyGeneral overviewCS2D overviewForums overview