PDA

View Full Version : script, pls help


maxes21
17th March 2007, 06:26
alright time trying to make this nade spam script,
this is what i have so far


+frag;
-frag;
openScriptMenu ingame changeweapon;
wait 1;
(this is the command i need, so it picks solt 1 or 2)
+frag;
-frag;
openScriptMenu ingame changeweapon;
wait 1;
(this is the command i need, so it picks solt 1 or 2)


so all i need is that one step, but if you know a other way, not cpp programing pls inform me, ty

Also heres my sniper script, all this does it auto breath for you,
toggleads;
+holdbreath; then inconsole type /bind mouse2 "exec nameofscript.cfg"

and it will do it, also can be use for anygun, and wont bash when you push m2

well pls help and gl

maci_88
25th March 2007, 04:24
seta v_grvalt_1 "bind MOUSE1 vstr v_gr; say_team ^1 The action button on FRAG; set v_grvalt vstr v_grvalt_2"
seta v_grvalt_2 "bind MOUSE1 +attack; say_team ^1 The action button on FIRE; seta v_grvalt vstr v_grvalt_1"
seta v_grvalt "vstr v_grvalt_2"
bind f9 "vstr v_grvalt"
seta v_gr_1 "openScriptMenu weapon_german kar98k_mp; wait; +frag; -frag; set v_gr vstr v_gr_2"
seta v_gr_2 "openScriptMenu weapon_german mp44_mp; wait; +frag; -frag; seta v_gr vstr v_gr_1"
seta v_gr "vstr v_gr_2"


This?

maxes21
25th March 2007, 08:04
woot that script is confusing, ill test this later and if this works, i love you,
to make it simple, with my script,
+frag;
-frag;
openScriptMenu ingame changeweapon;
wait 1;
(this is the command i need, so it picks solt 1 or 2)
+frag;
-frag;
openScriptMenu ingame changeweapon;
wait 1;
and change it to
+frag;
-frag;
openScriptMenu ingame changeweapon;
wait 1;
openScriptMenu weapon_german mp44_mp
+frag;
-frag;
openScriptMenu ingame changeweapon;
wait 1;
openScriptMenu weapon_german kar98k_mp;


Ps ty for the help,

i Tested and works Great, Ty,

archerkill30
9th April 2007, 03:27
Nice im using it atm my self :D