I’ve searched the wiki before anyone says ‘use the wiki’. It has nothing about this, I think xD
So I want to write a file, a .txt to a specific folder.
file.CreateDir( “test” )
file.Write( “test.txt”, “Hello” )
That’s my test code. Here is the wiki. http://wiki.garrysmod.com/page/file/Write If anyone could help me write that .txt to the directory created above that would be awesome!
I know that when I create the directory it’s created in the data folder and I know file.Write by default writes to the data folder.