SHARE
TWEET

Untitled

a guest Oct 13th, 2016 13 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. minetest.after(0, function()
  2.     file = io.open(minetest.get_worldpath() .. "/file.txt", "w")
  3.     io.input(file)
  4.     io.output(file)
  5.     stat_count = minetest.deserialize(tostring(io.read("*all")
  6. end)
  7.  
  8. -- Writing stat_count to a file says "return nil"
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top