SalahTobasi Posted June 22, 2019 Share Posted June 22, 2019 Hey I could use some help in the Prompt list as I have no idea about linking it to a exact value so it can be changed as the amount I select. Same as the slider, an example would be useful.. Thanks in advance ♥ Link to comment Share on other sites More sharing options...
Administrators Enyby Posted June 23, 2019 Administrators Share Posted June 23, 2019 Read api help. There was examples. Link to comment Share on other sites More sharing options...
SalahTobasi Posted June 23, 2019 Author Share Posted June 23, 2019 1 hour ago, Enyby said: Read api help. There was examples. I did and saw the examples, still couldn't figured it out to link it to the Prompt list such as Search a value and edit it. That's where im stuck Link to comment Share on other sites More sharing options...
Administrators Enyby Posted June 23, 2019 Administrators Share Posted June 23, 2019 Use type "number". Link to comment Share on other sites More sharing options...
SalahTobasi Posted June 24, 2019 Author Share Posted June 24, 2019 21 hours ago, Enyby said: Use type "number". Ik that, u don't get it.. I mean I want to search for a certian value and use the prompt list now how can I link the prompt list to the value I want to search so the results change.. e.g gg.prompt( {'Set the amount u want. '}, {[3]=0}, {[3]='number'}) Now how can I search for a value and change the value by the amount selected from the prompt list, that is what I meant by linking it If there is an example that would be awesome.. Link to comment Share on other sites More sharing options...
Administrators Enyby Posted June 24, 2019 Administrators Share Posted June 24, 2019 Get the value into a variable. Use this variable where necessary - in the search string, using string concatenation, or as a parameter when getting the number of results. Or as a value to change. Learn programming and Lua. These are basic things. See how other scripts are made. The same search string script. Link to comment Share on other sites More sharing options...
Question
SalahTobasi
Hey
I could use some help in the Prompt list as I have no idea about linking it to a exact value so it can be changed as the amount I select.
Same as the slider, an example would be useful.. Thanks in advance ♥
Link to comment
Share on other sites
5 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.