mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-08-17 15:06:02 +01:00
11 lines
340 B
Lua
11 lines
340 B
Lua
lib = setmetatable({}, {
|
|
__newindex = function(self, name, fn)
|
|
exports(name, fn)
|
|
rawset(self, name, fn)
|
|
end
|
|
})
|
|
|
|
if not LoadResourceFile('ox_lib', 'web/build/index.html') then
|
|
error('Unable 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')
|
|
end
|