Jump to content

How to set write line


IIYAMA

Recommended Posts

  • Moderators
Posted

https://wiki.multitheftauto.com/wiki/FileWrite

int fileWrite ( file theFile, string string1 [, string string2, string string3 ...]) 

How can I write a line at a specific place

and later overwrite it with another line of txt?

Do you want to improve your Lua programming skills and make less mistakes?   Start with Lua Language Server!   🙀

 

  Useful functions  3x 

  Tutorials  4x 

 

Posted

???? What yu mean?

Line 1: hello

line 2: what

line 3: up

now you wanna change line 2 or what you mean?

Known Languages:

[LUA][VB.NET][ASP.NET][C#][JAVA][C++]

[sqlite][MSSQL][salesForce][bATCH][/center]
  • Moderators
Posted

ah got it,

fileSetPos 

omfg it does not support per line reading...

@Schlammy

yes that is what I mean.

Do you want to improve your Lua programming skills and make less mistakes?   Start with Lua Language Server!   🙀

 

  Useful functions  3x 

  Tutorials  4x 

 

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