please help me
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
function SaveUserAddons(id,file,UsgnID) 	file = io.open("sys/lua/"..lua_name.."/"..save_name.."/"..UsgnID..'-addons.txt', "w+") or io.tmpfile() 	local text = "" 	local text = Addons[1] 	for k, v in ipairs(Addons) do 		local firstround=false 		if firstround==false then 			local text = v.FLic[id] 			local firstround=true 		else 			local text = text .." "..v.FLic[id] 		end 	end 	file:write(text) 	file:close() end
What I'm meant to find inside the text file is this:
(1 = have the addon 0 = don't have the addon)
0 0 0 0 0 0 0 0 (8 times and ignore the fact they are only 0's they can be 1 if I have the addons)
but I get 0 once.
How to fix it