Signup Now
Results 1 to 5 of 5
  1. #1
    Free User
    Join Date
    Dec 2013
    Location
    Poland / Warsaw
    Posts
    53
    Reputation
    10
    Rep Power
    21

    showuseroption User Options

    Hello
    How to do it hid me when I have set on BigExp to hide on SmallExp and vice versa


    PHP Code:
    {
            
    "type"    "group",
            
    "name"    "Exp Options",
            
    "column"  1,
            
    "children": [
    {
                            
    "type" "combobox",
                            
    "name" "CheckExp",
                            
    "text" "Select Hunting Spot",
                            
    "items" : ["Big""Small"]
                    },



    {
             
    "type"  "group"
             
    "name"  "Big Exp"
             
    "children" : [ 
       
            {
                
    "type" "separator"
            
    },

            { 
                   
                            
    "type"        "checkbox",
                            
    "name"        "North",
                            
    "description" "North",
                            
    "text"        "North",
                            
    "value"       false
                    
    },
        
    {
                            
    "type"        "checkbox",
                            
    "name"        "West",
                            
    "description" "West?",
                            
    "text"        "West?",
                            
    "value"       false
                    
    },

    {
                            
    "type"        "checkbox",
                            
    "name"        "NE",
                            
    "description" "NE",
                            
    "text"        "NE",
                            
    "value"       false
                    
    },
        {
                            
    "type"        "checkbox",
                            
    "name"        "NE2",
                            
    "description" "NE2",
                            
    "text"        "NE2",
                            
    "value"       false
                    
    },
    {
             
    "type"  "group"
             
    "name"  "Small Exp",
             
    "children" : [ 

            {
                
    "type" "separator"
            
    },
     { 
                   
                            
    "type"        "checkbox",
                            
    "name"        "Small",
                            
    "description" "Small",
                            
    "text"        "Small",
                            
    "value"       false
                    
    },
        
    {
                            
    "type"        "checkbox",
                            
    "name"        "Small2",
                            
    "description" "Small2",
                            
    "text"        "Small2",
                            
    "value"       false
                    
    },

    {
                            
    "type"        "checkbox",
                            
    "name"        "Small3",
                            
    "description" "Small3",
                            
    "text"        "Small3",
                            
    "value"       false
                    
    }
              
            ]
    }     
            ]
    }
            ]
    }, 

  2. #2
    Free User Cisco's Avatar
    Join Date
    Aug 2014
    Location
    Brazil
    Posts
    1,424
    Reputation
    119
    Rep Power
    23
    Quote Originally Posted by kagar View Post
    Hello
    How to do it hid me when I have set on BigExp to hide on SmallExp and vice versa


    PHP Code:
    {
            
    "type"    "group",
            
    "name"    "Exp Options",
            
    "column"  1,
            
    "children": [
    {
                            
    "type" "combobox",
                            
    "name" "CheckExp",
                            
    "text" "Select Hunting Spot",
                            
    "items" : ["Big""Small"]
                    },



    {
             
    "type"  "group"
             
    "name"  "Big Exp"
             
    "children" : [ 
       
            {
                
    "type" "separator"
            
    },

            { 
                   
                            
    "type"        "checkbox",
                            
    "name"        "North",
                            
    "description" "North",
                            
    "text"        "North",
                            
    "value"       false
                    
    },
        
    {
                            
    "type"        "checkbox",
                            
    "name"        "West",
                            
    "description" "West?",
                            
    "text"        "West?",
                            
    "value"       false
                    
    },

    {
                            
    "type"        "checkbox",
                            
    "name"        "NE",
                            
    "description" "NE",
                            
    "text"        "NE",
                            
    "value"       false
                    
    },
        {
                            
    "type"        "checkbox",
                            
    "name"        "NE2",
                            
    "description" "NE2",
                            
    "text"        "NE2",
                            
    "value"       false
                    
    },
    {
             
    "type"  "group"
             
    "name"  "Small Exp",
             
    "children" : [ 

            {
                
    "type" "separator"
            
    },
     { 
                   
                            
    "type"        "checkbox",
                            
    "name"        "Small",
                            
    "description" "Small",
                            
    "text"        "Small",
                            
    "value"       false
                    
    },
        
    {
                            
    "type"        "checkbox",
                            
    "name"        "Small2",
                            
    "description" "Small2",
                            
    "text"        "Small2",
                            
    "value"       false
                    
    },

    {
                            
    "type"        "checkbox",
                            
    "name"        "Small3",
                            
    "description" "Small3",
                            
    "text"        "Small3",
                            
    "value"       false
                    
    }
              
            ]
    }     
            ]
    }
            ]
    }, 
    auto(1000)
    if getuseroption('CheckExp') == 'Big' then
    showuseroption('Big Exp', true)
    else
    showuseroption('Big Exp', false)
    end

  3. #3
    Free User
    Join Date
    Dec 2013
    Location
    Poland / Warsaw
    Posts
    53
    Reputation
    10
    Rep Power
    21
    The game switches to "Small" it disappears all options with big exp and small exp

  4. #4
    Free User Cisco's Avatar
    Join Date
    Aug 2014
    Location
    Brazil
    Posts
    1,424
    Reputation
    119
    Rep Power
    23
    Quote Originally Posted by kagar View Post
    The game switches to "Small" it disappears all options with big exp and small exp
    Are you saying that nothing appears in the useroption?

  5. #5
    Free User
    Join Date
    Dec 2013
    Location
    Poland / Warsaw
    Posts
    53
    Reputation
    10
    Rep Power
    21
    Yes, I've already found a problem and I fixed it
    thanks a lot

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •