KagerA Posted August 11, 2010 Posted August 11, 2010 I'm trying to write info to a text file, everything is fine, but i can't move to the next string. "\n" just adds an unkown symbol (something like [] ) to the output file. local newFile; if fileExists("loot.txt") then newFile = fileOpen("loot.txt") else newFile = fileCreate("loot.txt") end if newFile then fileSetPos(newFile,fileGetSize(newFile)) outputChatBox("test"); fileWrite(newFile, "Santa \n") fileClose(newFile); end this problem is so weird but i just don't know what to do with it) I tried to change formats to .xml or .lua, didn't work.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now