Jump to content

Recommended Posts

part of code:

             local act = gg.prompt({'Jump boost'}, nil,{'number'})
                   if act == nil then mainmenu() end
        gg.setRanges(gg.REGION_CODE_APP)
        gg.searchNumber(jump_save, gg.TYPE_FLOAT)
        gg.getResults(1)
        gg.editAll(act, gg.TYPE_FLOAT)

For some reason gg acts like im trying to use broken value or smth. Wanna know why it says that var "act" is unexpected. Tried to enter "12" or "12.5" and got same error, so idk what to do next.

PicsArt_03-21-11.00.05.jpg

Share this post


Link to post
Share on other sites

Everything is written in the error text there.
A string was expected, and a table was received.
Read what value the prompt call returns.
Try to print the value of the variable to understand what is there.

Share this post


Link to post
Share on other sites
Just now, Enyby said:

Everything is written in the error text there.
A string was expected, and a table was received.
Read what value the prompt call returns.
Try to print the value of the variable to understand what is there.

already fixed it, i just got that im trying to input full table instead of using current value of promp array, ty ❤️

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

  • Similar Content

    • By ATP-RAY2OP
      View File UNLOCK ALL SKINS FREE IN MOBILE LEGENDS NEW VIP SCRIPT BY ATP-RAY2OP
      HELLO GUYZ, THIS IS NEW VIP MLBB SCRIPT, WITH THIS SCRIPT UNLOCK ANY SKIN, OF ANY HERO, WORK IN RANK, CLASSIC, CUSTOM
      Keep checking for update, i update script almost once a week😊
      VIDEO TUTORIAL ⬇️
       
       
       
        
      SUBSCRIBE TO CHANNEL ATP-RAY2OP FOR LATEST SCRIPT⬇️
      https://www.youtube.com/channel/UC0vglNiRwQLRmLScYwylqgg
       
       
      Submitter ATP-RAY2OP Submitted 03/27/2020 Category LUA scripts  
    • By ATP-RAY2OP
      HELLO GUYZ, THIS IS NEW VIP MLBB SCRIPT, WITH THIS SCRIPT UNLOCK ANY SKIN, OF ANY HERO, WORK IN RANK, CLASSIC, CUSTOM
      Keep checking for update, i update script almost once a week😊
      VIDEO TUTORIAL ⬇️
       
       
       
        
      SUBSCRIBE TO CHANNEL ATP-RAY2OP FOR LATEST SCRIPT⬇️
      https://www.youtube.com/channel/UC0vglNiRwQLRmLScYwylqgg
       
       
    • By Nitrosauris
      Looking for a script or mod for Marvel Strike Force , whatever that can be done would be greatly appreciated.
       
      Just make sure it's a working mod or script.
×
×
  • Create New...