mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-11-19 18:28:33 +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
+3
-2
@@ -43,7 +43,8 @@ cache = {
|
||||
}
|
||||
|
||||
if not LoadResourceFile(lib.name, 'web/build/index.html') then
|
||||
local err = '^1Unable to load UI. Build ox_lib or download the latest release.\n ^3https://github.com/overextended/ox_lib/releases/latest/download/ox_lib.zip^0'
|
||||
local err =
|
||||
'^1Unable to load UI. Build ox_lib or download the latest release.\n ^3https://github.com/overextended/ox_lib/releases/latest/download/ox_lib.zip^0'
|
||||
function lib.hasLoaded() return err end
|
||||
|
||||
error(err)
|
||||
@@ -51,4 +52,4 @@ end
|
||||
|
||||
function lib.hasLoaded() return true end
|
||||
|
||||
lib.locale()
|
||||
require = lib.require
|
||||
Reference in new issue
Block a user