Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ships = {
- {
- name = "kaen",
- kills = 100
- },
- {
- name = "bobdaduck",
- kills = 0
- },
- {
- name = "raptor",
- kills = 10
- },
- }
- for index, thisShip in pairs(ships) do
- print("ship number " .. index)
- for key, value in pairs(thisShip) do
- print(key .. ": " .. value)
- end
- print("")
- end
Advertisement
Add Comment
Please, Sign In to add comment