Guest User

Untitled

a guest
Jul 19th, 2018
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1. config = {
  2. opt1 = "etc..."
  3. }
  4. players = {}
  5.  
  6. function openMenu(playerName, configTable)
  7. players[playerName] = Something to get Table Key...
  8.  
  9. -- read the table and create a gui not yet made
  10. end
  11.  
  12. print(players[playerName])
  13.  
  14. "config"
  15.  
  16. function find(tbl, val)
  17. for k, v in pairs(tbl) do
  18. if v == val then return k end
  19. end
  20. return nil
  21. end
  22.  
  23. table.find(t, value [,start_index]) -> [key or nil]
Add Comment
Please, Sign In to add comment