Kuro96 Posted August 30, 2021 Share Posted August 30, 2021 Hi everyone , i made this script and i want to freeze or freeze may increase 2 value : 10 and 20 but dont know how... Plz guide me For examle gg.searchNumber('1;2;3;4',gg.TYPE_FLOAT) gg.refineNumber('1;2',gg.TYPE_FLOAT) gg.getResults(10) gg.editAll('10;20',gg.TYPE_FLOAT) gg.clearResults() end Link to comment Share on other sites More sharing options...
blocx Posted September 11, 2021 Share Posted September 11, 2021 my post is wrong u can edit on ur way Link to comment Share on other sites More sharing options...
TopGEOYT Posted September 1, 2021 Share Posted September 1, 2021 On 8/30/2021 at 3:34 PM, Kuro96 said: Hi everyone , i made this script and i want to freeze or freeze may increase 2 value : 10 and 20 but dont know how... Plz guide me For examle gg.searchNumber('1;2;3;4',gg.TYPE_FLOAT) gg.refineNumber('1;2',gg.TYPE_FLOAT) gg.getResults(10) gg.editAll('10;20',gg.TYPE_FLOAT) gg.clearResults() end Select "record script" and it will output code what u want. Link to comment Share on other sites More sharing options...
blocx Posted September 2, 2021 Share Posted September 2, 2021 gg.searchNumber("1;2;3;4::", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1, 0) gg.refineNumber("1;2", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1, 0) revert = gg.getResults(2500, nil, nil, nil, nil, nil, nil, nil, nil) local t = gg.getResults(2500, nil, nil, nil, nil, nil, nil, nil, nil) for i, v in ipairs(t) do if v.flags == gg.TYPE_FLOAT then v.value = "10 or 20 ?" v.freeze = true end end gg.addListItems(t) t = nil gg.alert("blabla") end gg.editAll('10;20',gg.TYPE_FLOAT) you cant edit in this way edit 10 or 20 but no twice or make 2 functions one edit for 10 one edit for 20 @Kuro96 Link to comment Share on other sites More sharing options...
Question
Kuro96
Hi everyone , i made this script and i want to freeze or freeze may increase 2 value : 10 and 20 but dont know how... Plz guide me
For examle
gg.searchNumber('1;2;3;4',gg.TYPE_FLOAT)
gg.refineNumber('1;2',gg.TYPE_FLOAT)
gg.getResults(10)
gg.editAll('10;20',gg.TYPE_FLOAT)
gg.clearResults()
end
Link to comment
Share on other sites
3 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.