Jump to content
  • 0

Save search results in addlistitems with diffrent names


kkbs4u

Question

3 answers to this question

Recommended Posts

Set "name" field of sub-tables to corresponding values before calling "addListItems" function: 

local results = gg.getResults(5) -- if results list has less than 5 results, returned table will have less elements accordingly
results[1].name = "ammo"
results[2].name = "guns"
results[3].name = "money"
results[4].name = "diamonds"
results[5].name = "gold"
gg.addListItems(results)
Link to comment
Share on other sites

1 hour ago, CmP said:

Set "name" field of sub-tables to corresponding values before calling "addListItems" function: 

local results = gg.getResults(5) -- if results list has less than 5 results, returned table will have less elements accordingly
results[1].name = "ammo"
results[2].name = "guns"
results[3].name = "money"
results[4].name = "diamonds"
results[5].name = "gold"
gg.addListItems(results)

Great man, its working for me thanks 

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.