file.Write
Description
Writes the given string to a file. Erases all previous data in the file. To add data without deleting previous data, use file.Append.
Arguments
1 string fileName
The name of the file being written into. The path is relative to the
data/
folder.
This argument will be forced lowercase.
The filename must end with one of the following:
- .txt
- .dat
- .json
- .xml
- .csv
- .dem
- .vcd
- .gma
- .mdl
- .phy
- .vvd
- .vtx
- .ani
- .vtf
- .vmt
- .png
- .jpg
- .jpeg
- .mp3
- .wav
- .ogg
Restricted symbols are: ":
, and multiple consecutive spaces, as well as pretty much every other non Latin (a-Z) character
Returns
Example
Page views: 86,950
Updated: Last Week
Updated: Last Week