Forum
CS2D Scripts Adding something to a table.Adding something to a table.
2 replies 1
1
table.insert
1
2
3
4
5
6
2
3
4
5
6
a={1,2,3,4,5} table.insert(a,tonumber("6")) for _,key in pairs(a) do 	print(a[key]) end
Output: 123456
1
table.insert
a={1,2,3,4,5} table.insert(a,tonumber("6")) for _,key in pairs(a) do 	print(a[key]) end