Im doing this
1
2
3
4
2
3
4
deaths[id]=deaths[id]+1
	file = io.open('sys/lua/data/'..player(id,"usgn")..'.txt','w')
	file:write(deaths[id].." /n "..kills[id])
	file:close()
which should write(for example):
5
10
to the file as far as I can tell, however it instead writes:
5 /n 10
Going over tutorials and the reference manual it said it should produce the first result, but it doesn't.
What am I doing wrong?
file:write help
1 
Offline