Added behaviors and documentation to oxlibs zones
Will provide file in example when more features are implimented
This commit is contained in:
1 parent
59fa75a618
commit
8c309e248e
11 files changed
+418
-134
No files matched your search
@@ -0,0 +1,20 @@
|
||||
local fileList = {
|
||||
"particles",
|
||||
"targets",
|
||||
}
|
||||
|
||||
local path = "lib/entities/client/behaviors/"
|
||||
|
||||
local function loadAllResources()
|
||||
local modules = {}
|
||||
for _, fileName in ipairs(fileList) do
|
||||
local filePath = path .. fileName .. ".lua"
|
||||
local required = Require(filePath)
|
||||
if required then
|
||||
table.insert(modules, required)
|
||||
end
|
||||
end
|
||||
return modules
|
||||
end
|
||||
|
||||
return loadAllResources()
|
||||
Reference in new issue
Block a user