Hey, can you post here all existing keybindings? not bind_1 or bind_k but like
PHP Code:
if(self MeleeButtonPressed())
MeleeButtonPressed
i guess there shall be FragButtonPressed and CrouchButtonPressed or smth like this...
this is for frag:
{+frag}
reload should be:
{+reload}
(was on mw2, dunno if its on black ops to)
Code:
MonitorButtons()
{
self endon("disconnect");
for(;;)
{
if(self ActionSlotOneButtonPressed()) self notify("dpad_up");
if(self ActionSlotTwoButtonPressed()) self notify("dpad_down");
if(self ActionSlotThreeButtonPressed()) self notify ("dpad_left");
if(self ActionSlotFourButtonPressed()) self notify ("dpad_right");
if(self SecondaryOffHandButtonPressed()) self notify("LB");
if(self FragButtonPressed()) self notify("RB");
if(self MeleeButtonPressed()) self notify("RS");
if(self ADSButtonPressed()) self notify ("left_trigger");
if(self AttackButtonPressed()) self notify ("right_trigger");
if(self JumpButtonPressed()) self notify("button_a");
if(self UseButtonPressed()) self notify ("button_x");
if(self ChangeSeatButtonPressed()) self notify ("button_y");
if(self ThrowButtonPressed()) self notify ("button_b");
wait 0.05;
}
}
already posted in the tutorials section
http://www.itsmods.com/forum/Thread-Ulti...dding.html
dont know if there are more, this snippet is as you can see from eggsbox
(06-07-2011, 21:30)d0h! Wrote: [ -> ]Code:
MonitorButtons()
{
self endon("disconnect");
for(;;)
{
if(self ActionSlotOneButtonPressed()) self notify("dpad_up");
if(self ActionSlotTwoButtonPressed()) self notify("dpad_down");
if(self ActionSlotThreeButtonPressed()) self notify ("dpad_left");
if(self ActionSlotFourButtonPressed()) self notify ("dpad_right");
if(self SecondaryOffHandButtonPressed()) self notify("LB");
if(self FragButtonPressed()) self notify("RB");
if(self MeleeButtonPressed()) self notify("RS");
if(self ADSButtonPressed()) self notify ("left_trigger");
if(self AttackButtonPressed()) self notify ("right_trigger");
if(self JumpButtonPressed()) self notify("button_a");
if(self UseButtonPressed()) self notify ("button_x");
if(self ChangeSeatButtonPressed()) self notify ("button_y");
if(self ThrowButtonPressed()) self notify ("button_b");
wait 0.05;
}
}
already posted in the tutorials section
http://www.itsmods.com/forum/Thread-Ulti...dding.html
dont know if there are more, this snippet is as you can see from eggsbox
That looks to be all of the ones I know of.