15 lines
420 B
Lua
15 lines
420 B
Lua
--if game.SinglePlayer() or SERVER then return end
|
|
|
|
-- Modules
|
|
|
|
local _, dir = file.Find("refoselbots/modules/*", "LUA")
|
|
|
|
for k, v in pairs(dir) do
|
|
local f = table.Add(file.Find("refoselbots/modules/" .. v .. "/cl_*.lua", "LUA"), file.Find("refoselbots/modules/" .. v .. "/sh_*.lua", "LUA"))
|
|
|
|
for i, o in pairs(f) do
|
|
local file = "refoselbots/modules/" .. v .. "/" .. o
|
|
|
|
include(file)
|
|
end
|
|
end |