Posts: 623
Threads: 57
Joined: Jan 2011
Reputation:
14
this is for frag:
{+frag}
reload should be:
{+reload}
(was on mw2, dunno if its on black ops to)
Posts: 6,052
Threads: 429
Joined: Oct 2010
06-07-2011, 21:30
(This post was last modified: 06-07-2011, 21:33 by d0h!.)
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