Jump to content

FileFunctions Help


joaokennedy

Recommended Posts

Hello

I have some doubts related to FileFunctions:

Local file

if fileExists ("Arquivo.lua") then

file = fileOpen ("Arquivo.lua")

else

file = fileCreate ("Arquivo.lua")

end

How do I every time some type an ex command: Saves the number 01, and retype replaces the 01 by 02 and so will always replacing the previous number by itself + 1 and then how do I save the file, tried read the Wiki but the translation I am very confusing to me.

Thank you very much!

Translate Google Tradutor

Link to comment

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...