Advertisement
Kodos

Untitled

Apr 19th, 2017
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.32 KB | None | 0 0
  1. -- database.lua
  2. local accounts={
  3. {
  4. id = 1,
  5. username = "Kodos"
  6. },
  7. {
  8. id = 2,
  9. username = "Admiral_Morketh"
  10. }
  11. }
  12.  
  13. local passwords={
  14. {
  15. id = 1,
  16. pwhash = "pretendimahash"
  17. },
  18. {
  19. id = 2,
  20. pwhash = "iamalsoahash"
  21. }
  22. }
  23.  
  24. return accounts, passwords
  25.  
  26. -- program.lua
  27. local accounts, passwords = dofile("database.lua")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement