NIKITAOFF Posted December 11, 2018 Share Posted December 11, 2018 Hello! How to write text to file via gg.prompt? Can anyone help? Please Link to comment Share on other sites More sharing options...
AutoSQLModGT Posted May 23, 2019 Share Posted May 23, 2019 I Dont Know But It Is Possible To Write And Create An File On LUA Script But Me Dont Know How To Set The Patch For The File In Script -_- But Try This : -- CREATE FILE TEST --VARIABLES local Script Script = TEST --Create The File file = io.open(gg.getFile():gsub('lua', '.lua'),'w') file:write(Script) file:close() Link to comment Share on other sites More sharing options...
TopGEOYT Posted May 23, 2019 Share Posted May 23, 2019 On 12/12/2018 at 12:12 AM, NIKITAOFF said: Hello! How to write text to file via gg.prompt? Can anyone help? Please ----------------------------------------------------- info = gg.prompt({"type text for write file"},nil, {"text"}) if info == nil then return end file = io.open(gg.getFile()..'.File', 'w') file:write(info[1]) file:close() os.exit() ----------------------------------------------------- Link to comment Share on other sites More sharing options...
Question
NIKITAOFF
Hello!
How to write text to file via gg.prompt?
Can anyone help?
Please
Link to comment
Share on other sites
2 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.