LynxzGaming Posted April 24, 2018 Share Posted April 24, 2018 How to freeze value in script? example : gg.searchNumber('78',gg.TYPE_DWORD) gg.getResults(50) gg.FreezeAll how? Link to comment Share on other sites More sharing options...
TopGEOYT Posted March 14, 2019 Share Posted March 14, 2019 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 . Link to comment Share on other sites More sharing options...
Administrators Enyby Posted April 24, 2018 Administrators Share Posted April 24, 2018 Quote mixed addListItems (table items) Add items to the saved list. More... https://gameguardian.net/help/classgg.html Link to comment Share on other sites More sharing options...
LynxzGaming Posted April 24, 2018 Author Share Posted April 24, 2018 so if i wanna freeze 50 value i must do t[1] until t[50] or there is simple way? Link to comment Share on other sites More sharing options...
CmP Posted April 24, 2018 Share Posted April 24, 2018 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. Link to comment Share on other sites More sharing options...
LynxzGaming Posted April 24, 2018 Author Share Posted April 24, 2018 thx CmP i will keep that in notepad my memory bad jk Link to comment Share on other sites More sharing options...
Kriptihaxxx Posted January 26, 2019 Share Posted January 26, 2019 @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 Link to comment Share on other sites More sharing options...
Question
LynxzGaming
How to freeze value in script?
example :
gg.searchNumber('78',gg.TYPE_DWORD)
gg.getResults(50)
gg.FreezeAll how?
Link to comment
Share on other sites
6 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.