Forum

> > CS2D > General > bind
Forums overviewCS2D overviewGeneral overviewLog in to reply

English bind

11 replies
To the start Previous 1 Next To the start

old bind

mortyr22
User Off Offline

Quote
how to crete bind?click u and you will pick up ak47(30 id)
(admin command)

old Re: bind

Alpha Beta
User Off Offline

Quote
copy&paste this in your autoexec (CS2D Folder -> sys -> autoexec.cfg)
1
bind "F9" "ak47"

If you press F9 ,you'll buy an AK
(remember: you only can buy an AK as T - never as CT)

############

Or if you are admin:

1
bind "F9" "equip 1 30"

If you press F9, the player with ID 1 (normally the admin) will get an AK (But you must be admin - otherwise it wont work)

old Re: bind

Alpha Beta
User Off Offline

Quote
it must work.
which code did you copy?
are you admin?
did you press F9?

old Re: bind

mortyr22
User Off Offline

Quote
work! and how to equip ak47 and deagle (30,3)?

old Re: bind

Alpha Beta
User Off Offline

Quote
buy:
1
bind "F9" "ak47;deagle"

admin:
1
bind "F9" "equip 1 30;equip 1 3"
edited 1×, last 04.06.09 01:29:38 pm

old Re: bind

DC
Admin Off Offline

Quote
it's "ak47;deagle" or "ak47 deagle" - otherwise cs2d tries to execute the command "ak47,deagle" which does not exist

old Re: bind

sonnenschein
User Off Offline

Quote
but i've got "bug" in my script

1
bind "f" "m4a1; ak-47"

Now i know everything is ok, and works fine, but if I am a CT, and i pick up Ak, on the next round, if i press the script, it drops my AK and buys m4a1, and i wasted my money.

I wonder can you change this somehow?

old Re: bind

ohaz
User Off Offline

Quote
why would you want to change it? you only can have one type of primary weapon!
if you are CT you can only buy m4a1 and if you're T you can only buy AK. and you can't have them both at the same time

old Re: bind

sonnenschein
User Off Offline

Quote
TheKilledDeath has written
why would you want to change it? you only can have one type of primary weapon!
if you are CT you can only buy m4a1 and if you're T you can only buy AK. and you can't have them both at the same time

yes, but i wanna ak, not the m4a1 when im CT and i press the key. reason is that i dont want to type all nades keys

old Re: bind

ohaz
User Off Offline

Quote
then, make two different binds for nades and weapons
To the start Previous 1 Next To the start
Log in to replyGeneral overviewCS2D overviewForums overview