Nut.util.includeDir

nut.util.includeDir(directory, fromLua, recursive) Executes the files in the supplied directory

Arguments

 * String directory
 * Boolean fromLua
 * Boolean recursive

By default, the file is included relative the Nutscript/gamemode folder. If this is called from within a schema, then then the file is included relative to the schema folder. If from lua is true, then it is relative to the base lua folder. If recursive is true, then files are added recursively, meaning that it will look inside of directories inside of the supplied "directory".

Return Values
None

Examples
nut.util.includeDir("core/libs/thirdparty")