Jump to content




fs.list to menu?


  • You cannot reply to this topic
2 replies to this topic

#1 boudragon

  • Members
  • 107 posts

Posted 10 July 2013 - 05:48 PM

I've been trying ot think of an easy-ish way to take a list and convert it into a menu with options. Example:

fs.list(DIR HERE)

It then displays the list but you can select a file from the list. Any ideas on how I could do this?

#2 Lyqyd

    Lua Liquidator

  • Moderators
  • 8,465 posts

Posted 10 July 2013 - 07:03 PM

Just use a menu script that's based on a provided table of options. A relatively simple example can be found on my github.

#3 boudragon

  • Members
  • 107 posts

Posted 10 July 2013 - 11:45 PM

I'll check it out. I try to work these things out in my head before I do them or ask others for help and I just can't see it LOL So I will get back to ya if this works out for me :)





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users