- Code: Select all
if(AS3.Getbuttonstate(20006))
{
AS3.Switchbutton(false, 20006);
MessageBox.Show("False");
}
else
{
AS3.Switchbutton(true, 20006);
MessageBox.Show ("True");
}
Am i missing something?
if(AS3.Getbuttonstate(20006))
{
AS3.Switchbutton(false, 20006);
MessageBox.Show("False");
}
else
{
AS3.Switchbutton(true, 20006);
MessageBox.Show ("True");
}
bool buttonstate = AS3.Getbuttonstate(20006);
if (buttonstate)
{
AS3.Switchbutton(false, 20006);
MessageBox.Show("False");
}
else
{
AS3.Switchbutton(true, 20006);
MessageBox.Show ("True");
}
Return to Ask a question from support here
Users browsing this forum: No registered users and 29 guests