Guest User

Untitled

a guest
Oct 20th, 2018
155
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. --Check if the path has been initialized
  2. if PATH_INIT == nil or PATH_INIT ~= true then
  3. --Create and set the directories
  4. SCRIPTS_DIR = "C:/Users/Hadyn/Projects/Gamma/bin/scripts/"
  5. PLUGINS_DIR = "C:/Users/Hadyn/Projects/Gamma/bin/plugins/"
  6. --Create the PATH_INIT var and set to true
  7. PATH_INIT = true
  8. end
  9.  
  10. --Change the lua path directory
  11. function setPath(path)
  12. package.path = path
  13. end
Add Comment
Please, Sign In to add comment