Jump to content
  • 0

How can I update my script automatically and can I connect it to server?


g1doz

Question

6 answers to this question

Recommended Posts

21 hours ago, g1doz said:

Can you explain to me a real example?

It was "real" example .

You need to know small things about gg.makeRequest and using about pastebin .

Link to comment
Share on other sites

if gg.makeRequest("URL1").content > "1.0" then io.open("/storage/emulated/0/script.lua","w"):write(gg.makeRequest("URL2").content):close() end

-------------------------

In URL1 put version link , and if it will be more than its written in string , then it will dowload new file which will be in URL2 .

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.