Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local myTable = {}
- -- This...
- myTable[1] = "This is item 1 of the table"
- -- ... does the same as this
- myTable:insert(1, "This is item 1 of the table")
- print(myTable[1]) -- Prints out "This is item 1 of the table"
- myTable["ZudoHackz"] = "MyPassword"
- myTable["SomeoneElse"] = "SomePassword"
- print(myTable["ZudoHackz"])
- -- Or
- print(myTable.ZudoHackz)
- local myTable = {}
- myTable[1] = "blah1"
- myTable[2] = "blah2"
- myTable[3] = "blah3"
- ...
- local myTable = {"blah1","blah2","blah3"}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement