So I put a table in a shared file for both server and client to add to. When I add something to the table in server side,
table[row][2] = value
It doesn't return in the client side. I tried syncing it with a function in the shared file like this:
Shared:
function syncTables(row, value, info)
if row and value and info then
table[row][value] = info
end
end
Server:
syncTables(1, 2, "Hi")
Client:
for key, value in pairs(table) do
outputDebugString(value[2])
end
Client will return nil whereas the server will return "Hi" properly...