AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   quick buy script question (https://forums.alliedmods.net/showthread.php?t=47126)

[dE] Trashy 11-10-2006 14:39

quick buy script question
 
hello, i am new to key binding and am wondering if someone could help me for a second.
i have my f1-f11 keys binded like the following,
bind "F1" "autobuy"
bind "F2" "rebuy"
bind "F3" "flash"
bind "F4" "hegren"
bind "F5" "tg_m4ak"
bind "F6" "Vest"
bind "F7" "deagle"
bind "F8" "rze_helm"
bind "F9" "defuser"
bind "F10" "quit prompt"
bind "F11" "awp"
^taken from my userconfig.cfg file in my /cstrike/ folder

my question is, how would i bind f1 to buy all of the above plus secondary ammo, and minus the awp?

i would be very thankful if someone could help me

ya friend from new orleans,
Trashy from dishonor-elite.com

LittleDude 11-10-2006 16:43

Re: quick buy script question
 
Quote:

Originally Posted by [dE] Trashy (Post 401906)
hello, i am new to key binding and am wondering if someone could help me for a second.
i have my f1-f11 keys binded like the following,
bind "F1" "autobuy"
bind "F2" "rebuy"
bind "F3" "flash"
bind "F4" "hegren"
bind "F5" "tg_m4ak"
bind "F6" "Vest"
bind "F7" "deagle"
bind "F8" "rze_helm"
bind "F9" "defuser"
bind "F10" "quit prompt"
bind "F11" "awp"
^taken from my userconfig.cfg file in my /cstrike/ folder

my question is, how would i bind f1 to buy all of the above plus secondary ammo, and minus the awp?

i would be very thankful if someone could help me

ya friend from new orleans,
Trashy from dishonor-elite.com

k so in console you would type:

bind "F1" "autoby;rebuy;flash;hegren;tg_m4ak;Vest;deagl e;rze_helm;defuser;quit prompt;awp"

[dE] Trashy 11-11-2006 09:44

Re: quick buy script question
 
ok, so i put this,
Quote:

bind "F1" "autoby;rebuy;flash;hegren;tg_m4ak;Vest;d eagl
e;rze_helm;defuser;secammo;vesthelm;sgren;qui t prompt"
when i entered the game, i gave myself $16k and hit f1, it bought the hand grenade, smoke, and flash, nothing else

Da_sk8rboy 11-11-2006 09:56

Re: quick buy script question
 
Why are you postng this in Scripting?

[dE] Trashy 11-11-2006 13:10

Re: quick buy script question
 
because binding keys is scripting?
where should this post be?

organizedKaoS 11-11-2006 13:12

Re: quick buy script question
 
Quote:

Originally Posted by [dE] Trashy (Post 402299)
because binding keys is scripting?
where should this post be?

Binding keys is a different form of scripting.

This is amxx scripting, visit counter-script.net for action/button scripts.


All times are GMT -4. The time now is 06:52.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.