Search found 3 matches

by sinsiter
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?
Skeletonxf wrote: Sat Jul 29, 2017 2:30 pm that code is equivalent to

Code: Select all

player = {
  "x" = 0, 
  "y" = 0, 
  "speed" = 100
}
assuming you mean to be using

Code: Select all

player
as you haven't defined a table called

Code: Select all

Player
by sinsiter
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 ...