Jump to content
5G_Controller

Save the declared numbers in prompt

Recommended Posts

I have the code

prompt = gg.prompt({"infor1","infor2"},nil,{"number","number"})

I do a searchNumber for 'infor1' and modify it to 'infor2'

after i launched the script, how could I save the numbers that I put in 'infor1' and 'infor2' in the prompt?

Tks

Edited by 5G_Controller

Share this post


Link to post
Share on other sites

Use table if you need store only until scripts run.

Use file with gg.saveVariable if you need persistent storage.

Share this post


Link to post
Share on other sites
9 hours ago, Enyby said:

Use table if you need store only until scripts run.

Use file with gg.saveVariable if you need persistent storage.

Tks reply

Pls help me with an example LUA script for

gg.saveVariable

 

Share this post


Link to post
Share on other sites

Maybe you try read API help and use examples from there?

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 Roller4
      I have been playing roller coaster tycoon touch and I can easily duplicate rides by placing them and storing them but there are ride skins that change how the rides look. I can not click on them as they are locked. Any ideas on how to unlock them?
    • By cchastiecid
      Hi everyone, i need help to hack game Random Dice : PvP Defence.
      I use Magisk Manager : root; magisk hide and GameGuardian and i try hack the game.
      If i try change any value or use speedhack, game close, or my device reboot permanently. 
      I think it's ptrace..
      Video and screenshot add 🔥
      And sorry for bad English, guys, with love ❤
       

    • By Drok
      my link game https://apkpure.com/vn/secret-tower-500f-super-fast-growing-idle-rpg/me.nextdoors.tower
       
      I remember about a few years ago, I hacked gold, its gem was successful, but now I can't remember what I did to hack it.
    • By AmsSam
      Hello I'm pretty here and my question it is if it's anyone that can help me with this game :
      https://play.google.com/store/apps/details?id=com.addictive.strategy.army
      So for what do I need help ? Well for diamonds I don't know and understand how to change them the coins was pretty easy but the diamonds I really don't know. Hope someone will help me. Thanks alot.
    • By Tatou
      Help me dude! How to make this switch button :).

×
×
  • Create New...