Jump to content
LynxzGaming

How to freeze value in script?

Recommended Posts

How to freeze value in script? 

example :

gg.searchNumber('78',gg.TYPE_DWORD)

gg.getResults(50)

gg.FreezeAll how? 

Share this post


Link to post
Share on other sites

gg.searchNumber('78',gg.TYPE_DWORD)

searchResults = gg.getResults(50)

for i, v in ipairs(searchResults) do
  v.freeze = true
end

gg.addListItems(searchResults)

Keep in mind, that searchNumber, getResults, addListItems functions might return a string with error in some cases.
Also you may want to check number of results before doing anything with them, use gg.getResultCount() for this.

Share this post


Link to post
Share on other sites

@Enyby could you help me i have a script its set to search for a value and freeze so many results but it just searches for them i dont get any error or anything

Share this post


Link to post
Share on other sites
On 4/24/2018 at 9:30 PM, LynxzGaming said:

How to freeze value in script? 

example :

gg.searchNumber('78',gg.TYPE_DWORD)

gg.getResults(50)

gg.FreezeAll how? 

Use record script . 

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 NewbieSquadArk
      View File NEW UPDATE!!! Mobile Legend Complete Script
      Subscibe My Channel Youtube For More Scipt : https://www.youtube.com/channel/UC--22XoQ10sw0WFKD6vlVlg?view_as=subscriber
      Submitter NewbieSquadArk Submitted 07/23/2018 Category LUA scripts  
    • By CheatTester
      Please help for anyone who read this and can help me, Basically this is for teleport map, so i have some data on Saved list, if i change it, it change my player position, but i need save manually any position that i will use later
      Kind of
      r = gg.getListItems 
      set Values
      What i want is :
      Make script that can save my data on Saved List to new text files with custom name, then write on it with template like
      __
      r[1].value = "save data here"
      gg.SetValues
      __
      Is it possible? Please teach me.
      i usually use save to txt feature on gameguardian, then edit it.
      Thanks
       
       
       
       
    • By zodiac698123
      View File [Updated]Left to survive all weapons and helicopter one hit & no reload
      Hello wassup Guys today i will show how to kill all zombie one hit in this video.
      It works in online mode too.
      Click here to subscribe to my youtube channel
       
      Submitter zodiac698123 Submitted 03/16/2019 Category LUA scripts  
×
×
  • Create New...