Stary2001

protocols/file

Jan 4th, 2013
35
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.16 KB | None | 0 0
  1. protocols.file = {}
  2.  
  3. function protocols.file.load(location)
  4. local f = fs.open(location,"r")
  5. local content = f.readAll()
  6. f.close()
  7.  
  8. return content
  9. end
Advertisement
Add Comment
Please, Sign In to add comment