Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- All these mean the same thing
- DATA = {
- votes = {},
- vip = {}
- }
- DATA = {}
- DATA.votes = {}
- DATA.vip = {}
- DATA = {}
- DATA["account votes"] = {} -- Can use string like this an
- DATA["vip"] = {} -- A string name can also be accessed later in the same fashion as above: DATA.vip as well as DATA.["vip"]
- -- Example of having DATA table and saving some votes and vip data to it under one account ID
- DATA = {}
- -- code
- local accID = player:GetAccountId()
- DATA[accID].vip = {1,2,3,4,5}
- DATA[accID].votes = {1,2,3,4,5}
- -- code
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement