user19403
0
Q:

how to check if file exists lua

function file_exists(name)
   local f=io.open(name,"r")
   if f~=nil then io.close(f) return true else return false end
end
0

New to Communities?

Join the community