Function writes a string in a binary write.
Last updated 1 year ago
Was this helpful?
:WriteString( str )
local f = file.Open( "my-file.dat", "wb", "DATA" ) if not f then return end f:WriteString( "Hello World" ) f:Close()