Jump to content
Sign in to follow this  
Eficiente

Disable Graphics in script

Recommended Posts

Posted (edited)

how i can do that ?

 

This code is not working:

Quote

public static void setGraphics(boolean value) {
    if (!TRiBot.c.E.get("Disable Graphics").isSelected() && !value)
        TRiBot.c.E.get("Disable Graphics").doClick();
    else if (TRiBot.c.E.get("Disable Graphics").isSelected() && value)
        TRiBot.c.E.get("Disable Graphics").doClick();
}

fixed it:

Quote

public static void setGraphics(boolean value) {    
        if (!TRiBot.v.C.get("Disable Graphics").isSelected() && !value)
            TRiBot.v.C.get("Disable Graphics").doClick();
        else if (TRiBot.v.C.get("Disable Graphics").isSelected() && value)
            TRiBot.v.C.get("Disable Graphics").doClick();            
    }

 

Edited by Eficiente

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×