Jump to content

Recommended Posts

Posted (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 by Mahmoud Farouk
forget to write a word
Posted (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 by SpecT

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...