mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-11-23 03:18:36 +00:00
refactor(resource): load extra modules
This commit is contained in:
1 parent
989462da7d
commit
09ca963f26
3 files changed
+25
-19
No files matched your search
@@ -108,7 +108,7 @@ end
|
||||
|
||||
---Loads the given module inside the current resource, returning any values returned by the file or `true` when `nil`.
|
||||
---@param modname string
|
||||
---@return unknown?
|
||||
---@return unknown
|
||||
function lib.require(modname)
|
||||
if type(modname) ~= 'string' then return end
|
||||
|
||||
|
||||
Reference in new issue
Block a user