Jump to content
Sign in to follow this  
Tezter

Please, I need your help with somethings what I want do with seek bar

Recommended Posts

Hi, everyone.  PLease can anyone help me with this script. I would really appreciate your help.

-- Example 1.
-- The first piece of the code works here fine.
-- The problem here is that the Seek Bar line is not moving {7}, it stays on 1.


n = gg.prompt(
{'Levels:','Add Level:[1;15]'},{[1]='10.0F;4D:125'},
{[2]='number',{7}}
)

--==========================
-- Example 2.
-- In this example the Seek Bar line is moving fine, but i can't add text in the search field, just like example 1.

n = gg.prompt(
{C='Levels:10.0F;4D:125','Add Level :[1;15]'},{7},{'number'}
)

-- I tryed also this.

n = gg.prompt(
{C='Levels:10.0F;4D:125','Add Level :[1;15]'},{7},{'number'},{C='10.0F;4D:125'})

 

Share this post


Link to post
Share on other sites

 It is actually too bad I've gotten no answer in 2 days but, i did figured out by myself.

Thx anyway for sharing your knowledge, i'am learning a lot.

This is what i did mybe someone can learn from it.

n = gg.prompt(
{[1]='Levels: [1; 15]', [2]='Add Level:'}, {[1]='8',[2]=' 7912D;2,5F:13'}, {'number', ' number,text'})

 

 

 

 

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  

  • Similar Content

    • By I-Do-Trolling
      I did try to make one but when i change the value it just changes to 1 everytime
      Plz i need help 
       
      if gg.isVisible(true) 
      then gg.setVisible(false)
      end
      gg.clearResults()
      Random=1
      function SM()
      local n = gg.prompt({'Fov','Field of fiew:[150; 360]','exit'}, {false,360, false}, {'checkbox','number','checkbox'})
      if n == nil then gg.sleep(1)
      else
      if n[1] and n[2] then fov() end
      if n[3] then exit() end

      end
      Random=-1
      end
      function fov()
      gg.setRanges(gg.REGION_CODE_APP)
      gg.searchNumber("150~360", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1)
      gg.searchAddress("944", -1, gg.TYPE_FLOAT, gg.SIGN_EQUAL, 0, -1)
      gg.getResults(10)
      gg.editAll('n[1]', gg.TYPE_FLOAT)
      gg.toast('Fov changed')
      end
      function exit()
      print('script by i-do-trolling')
      gg.toast('script exit')
      os.exit()
      end

      while(true)
      do
        if gg.isVisible(true) then
          Random=1
          gg.setVisible(false) 
        end 
        gg.clearResults()
        if Random==1 then   SM() end
      end
       
      Seek bar script.lua
×
×
  • Create New...