Hi!
asdd = {
{"egy", "ketto", "három"},
{"egy1", "ketto1", "három1"},
{"egy1", "ketto1", "három1"},
}
function wasd2 ()
local asddCopy = asdd
outputChatBox(asdd[2][3])-- Output: teszt
asdd[2][3] = "teszt"
outputChatBox(asdd[2][3].."|"..asddCopy[2][3])-- Output: teszt|teszt
end
addCommandHandler("teszt3", wasd2)
Now i noticed that if i copy a table and i overwrite a value in the new table(asddCopy) , the first table(asdd) value is change too. Why? And how can i solve to not change the first table's(asdd) value?