• file.Write problems.
    2 replies, posted
Writing in different folders doesn't seem to work on some occasions, work on others. For example, this won't work [CODE]lua_run_cl file.Write("One/Two.txt", "Three")[/CODE] But this will: [CODE]lua_run_cl file.Write("Two.txt", "Three")[/CODE] So how can I write in different folders inside of the data folder?
You have to create the directory first. [b][url=http://wiki.garrysmod.com/?title=File.CreateDir]File.CreateDir [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]
Thanks.
Sorry, you need to Log In to post a reply to this thread.