I have a .lua script file and i'm having a problem in something like that:
myTable = {}
function changeMyTable(index,value){
myTable[index] = value
--When I output the size of #myTable now I receive 1 as result...
}
function checkMyTableSize(){
--when i output #myTable here. I receive 0 as result
}
Anyone knows how to create a index on the global 'myTable' table?
I've tryed to use table.insert(myTable,index,value) too.