Post: RTM Tool Buzzer Help
10-25-2015, 11:42 PM #1
(adsbygoogle = window.adsbygoogle || []).push({}); So I Have A Combo Box With The Button Set. But When I Build The Tool And Check The Combo Box There Are No Options In It. I'm Pretty Sure I'm Doing It Wong But Could Someone Explain How To Do It? Sorry If This Is In The Wrong Category

Button:

if (Buzzer.SelectedIndex == 0)
{
PS3.CCAPI.RingBuzzer(CCAPI.BuzzerMode.Single);
}
if (Buzzer.SelectedIndex == 1)
{
PS3.CCAPI.RingBuzzer(CCAPI.BuzzerMode.Double);
}
if (Buzzer.SelectedIndex == 2)
{
PS3.CCAPI.RingBuzzer(CCAPI.BuzzerMode.Continuous);
}

ComboBox:


Nothing
(adsbygoogle = window.adsbygoogle || []).push({});
10-26-2015, 04:04 AM #2
Adrian
Adrian is back!
Originally posted by daannnyyyy99 View Post
So I Have A Combo Box With The Button Set. But When I Build The Tool And Check The Combo Box There Are No Options In It. I'm Pretty Sure I'm Doing It Wong But Could Someone Explain How To Do It? Sorry If This Is In The Wrong Category

Button:

if (Buzzer.SelectedIndex == 0)
{
PS3.CCAPI.RingBuzzer(CCAPI.BuzzerMode.Single);
}
if (Buzzer.SelectedIndex == 1)
{
PS3.CCAPI.RingBuzzer(CCAPI.BuzzerMode.Double);
}
if (Buzzer.SelectedIndex == 2)
{
PS3.CCAPI.RingBuzzer(CCAPI.BuzzerMode.Continuous);
}

ComboBox:


Nothing

Thread has been moved to Black Ops 2 Mods Questions.
It i all good adding the coding for it but you will have to actually add the options manually.

The following user thanked Adrian for this useful post:

daannnyyyy99
10-26-2015, 04:13 AM #3
Default Avatar
Remy
Guest
Originally posted by daannnyyyy99 View Post
So I Have A Combo Box With The Button Set. But When I Build The Tool And Check The Combo Box There Are No Options In It. I'm Pretty Sure I'm Doing It Wong But Could Someone Explain How To Do It? Sorry If This Is In The Wrong Category

Button:

if (Buzzer.SelectedIndex == 0)
{
PS3.CCAPI.RingBuzzer(CCAPI.BuzzerMode.Single);
}
if (Buzzer.SelectedIndex == 1)
{
PS3.CCAPI.RingBuzzer(CCAPI.BuzzerMode.Double);
}
if (Buzzer.SelectedIndex == 2)
{
PS3.CCAPI.RingBuzzer(CCAPI.BuzzerMode.Continuous);
}

ComboBox:


Nothing


You could do
    
if (comboBox.Text == "Single")
{
//Ring Buzzer Single
}
else if (comboBox.Text == "Double")
{
//Ring Buzzer Double
}

ETC.

The following user thanked Remy for this useful post:

daannnyyyy99
10-27-2015, 02:36 AM #4
Vie
Bounty hunter
Step 1: Make a Button & Combo Box
You must login or register to view this content.

Step 2: Set The Default Text of The Combo Box
You must login or register to view this content.

Step 3: Scroll Down to HERE & Click the 3 Dots Next To "Collection"
You must login or register to view this content.

Step 4: Set All Of Your Combo Box Options (Adding A Line For Every Option As Seen In The Image Below)
You must login or register to view this content.

Step 5: Setup Your Code Like The Image Below (Changing The Buttons & Combo Box Title In The Code To Yours Obviously)
You must login or register to view this content.

The Code Used In Step 5:

    private void button1_Click(object sender, EventArgs e)
{
if(comboBox3.Text == "Beep Once")
{
PS3.CCAPI.RingBuzzer(CCAPI.BuzzerMode.Single);
}
else if(comboBox3.Text == "Beep Twice")
{
PS3.CCAPI.RingBuzzer(CCAPI.BuzzerMode.Double);
}
else if(comboBox3.Text == "Continuous Beeps")
{
PS3.CCAPI.RingBuzzer(CCAPI.BuzzerMode.Continuous);
}
}

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo