alexhorner

dniupdater

Jun 25th, 2017
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.46 KB | None | 0 0
  1. print("Updating resources...")
  2.  
  3. if fs.exists("/nms") then
  4.     fs.delete("/nms")
  5.     shell.run("pastebin get dF96Qw0M /nms")
  6.     print("Updated nms")
  7. end
  8.  
  9. if fs.exists("/nmsmon") then
  10.     fs.delete("/nmsmon")
  11.     shell.run("pastebin get LLZztcFN /nmsmon")
  12.     print("Updated nmsmon")
  13. end
  14.  
  15. if fs.exists("/nmsreqapi") then
  16.     fs.delete("/nmsreqapi")
  17.     shell.run("pastebin get ZFh7e3E5 /nmsreqapi")
  18.     print("Updated NMS Request API")
  19. end
  20.  
  21. print("Updated all available resources!")
Add Comment
Please, Sign In to add comment