lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


local tpos = GetPosTable()
print(tpos) -- says it's a table :)
print(tpos[1]) -- says nil :(


Well, if it says then a table is what it is. I haven't seen any part of your code that stores a number index to the table, so, tpos[1] will always return nil.

	Try << print(tpos.px, tpos.py, tpos.xx) >>

--rb