Mahmoud Farouk Posted April 26, 2020 Share Posted April 26, 2020 (edited) Guys Not errors in debugscript and not create local file = fileCreate("myfile.Lua") if (file) then fileWrite(file,'TEST') outputChatBox("File Created") end Edited April 26, 2020 by Mahmoud Farouk forget to write a word Link to comment
SpecT Posted April 30, 2020 Share Posted April 30, 2020 (edited) After writing in a file you MUST close the file to save the changes you made to it by using. So after the fileWrite you should put fileClose(file) Edited April 30, 2020 by SpecT Link to comment
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