Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --Check if the path has been initialized
- if PATH_INIT == nil or PATH_INIT ~= true then
- --Create and set the directories
- SCRIPTS_DIR = "C:/Users/Hadyn/Projects/Gamma/bin/scripts/"
- PLUGINS_DIR = "C:/Users/Hadyn/Projects/Gamma/bin/plugins/"
- --Create the PATH_INIT var and set to true
- PATH_INIT = true
- end
- --Change the lua path directory
- function setPath(path)
- package.path = path
- end
Add Comment
Please, Sign In to add comment