Skeletonxf wrote: ↑Sat Jul 29, 2017 2:30 pm that code is equivalent to
assuming you mean to be usingCode: Select all
player = { "x" = 0, "y" = 0, "speed" = 100 }
as you haven't defined a table calledCode: Select all
player
Code: Select all
Player
Search found 3 matches
- Sat Jul 29, 2017 7:12 pm
- Forum: Support and Development
- Topic: New here but probably a stupid question
- Replies: 7
- Views: 6123
Re: New here but probably a stupid question
Another question. What's the difference between the two if they do the same thing?
- Sat Jul 29, 2017 4:15 pm
- Forum: Support and Development
- Topic: New here but probably a stupid question
- Replies: 7
- Views: 6123
Re: New here but probably a stupid question
Ok thank guys!
- Sat Jul 29, 2017 1:09 pm
- Forum: Support and Development
- Topic: New here but probably a stupid question
- Replies: 7
- Views: 6123
New here but probably a stupid question
Hi guys New I'm New tonthisbso please bare with me lol. But it's more a lua question. So if I made a table like player = {} Player.x = 0 Player.y = 0 Player.speed = 100 Would all this get stores in the player table even though it has a .x or .y? When I was learning tables I could have sworn that to ...