Jump to content
  • 0

I want detect gg.getfile() but how?


Re_Load

Question

1 answer to this question

Recommended Posts

Detected the other script, and if found, it will load it,, if the file doesnt exist or not found, it will print 'NO DATA'

function RUNFILE()
if io.open(sdcard/luafolder/luafile.lua) ~= nil then dofile(sdcard/luafolder/luafile.lua)
else
gg.alert('NO-DATA')

end

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.