DylanTroonesYT Posted February 4, 2019 Share Posted February 4, 2019 Yes, this is impossible. For me (I'm a beginner) this is impossible. For some time I have found that with the gg.promt the user can look for the value he wants. If you want to create a gg.promt where the user looks for example 32 and on gg should instead look for 32; 444444 and freeze the results, how do I?? Do you write me the commands a little? I trust you guys Link to comment Share on other sites More sharing options...
maulz Posted February 4, 2019 Share Posted February 4, 2019 Maybe can help test.lua Link to comment Share on other sites More sharing options...
DylanTroonesYT Posted February 4, 2019 Author Share Posted February 4, 2019 1 minute ago, maulz said: Maybe can help test.lua Not work Link to comment Share on other sites More sharing options...
maulz Posted February 4, 2019 Share Posted February 4, 2019 6 minutes ago, DylanTroonesYT said: Not work That's code work for me Link to comment Share on other sites More sharing options...
DylanTroonesYT Posted February 4, 2019 Author Share Posted February 4, 2019 1 minute ago, maulz said: That's code work for me The link is not working bro Link to comment Share on other sites More sharing options...
maulz Posted February 4, 2019 Share Posted February 4, 2019 Lol val = gg.prompt({"Value:","Edit:"}, nil, {[1] = "number", [2] = "number"}) gg.searchNumber(val[1]..";3", gg.TYPE_DWORD) gg.searchNumber(val[1], gg.TYPE_DWORD) t = gg.getResults(500) gg.editAll(val[2], gg.TYPE_DWORD) for i, v in ipairs(t) do if v.flags == gg.TYPE_DWORD then v.value = val[2] v.freeze = true end end gg.addListItems(t) t = nil *Don't copy-paste Link to comment Share on other sites More sharing options...
DylanTroonesYT Posted February 4, 2019 Author Share Posted February 4, 2019 21 minutes ago, maulz said: Lol val = gg.prompt({"Value:","Edit:"}, nil, {[1] = "number", [2] = "number"}) gg.searchNumber(val[1]..";3", gg.TYPE_DWORD) gg.searchNumber(val[1], gg.TYPE_DWORD) t = gg.getResults(500) gg.editAll(val[2], gg.TYPE_DWORD) for i, v in ipairs(t) do if v.flags == gg.TYPE_DWORD then v.value = val[2] v.freeze = true end end gg.addListItems(t) t = nil *Don't copy-paste Ok thanks, but if where there is written "Edit" the number I would like to already set up? Link to comment Share on other sites More sharing options...
maulz Posted February 4, 2019 Share Posted February 4, 2019 11 minutes ago, DylanTroonesYT said: Ok thanks, but if where there is written "Edit" the number I would like to already set up? val = gg.prompt({"Value:"}, nil, {{"number"}) gg.searchNumber(val[1]..";3", gg.TYPE_DWORD) gg.searchNumber(val[1], gg.TYPE_DWORD) t = gg.getResults(500) gg.editAll(9, gg.TYPE_DWORD) for i, v in ipairs(t) do if v.flags == gg.TYPE_DWORD then v.value = "9" v.freeze = true end end gg.addListItems(t) t = nil Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.