2024-12-30 10:15:34 +00:00
|
|
|
fx_version 'adamant'
|
2024-12-29 20:02:43 +00:00
|
|
|
use_experimental_fxv2_oal 'yes'
|
2024-12-30 10:15:34 +00:00
|
|
|
lua54 'yes'
|
|
|
|
games { 'rdr3', 'gta5' }
|
2024-12-29 20:02:43 +00:00
|
|
|
rdr3_warning 'I acknowledge that this is a prerelease build of RedM, and I am aware my resources *will* become incompatible once RedM ships.'
|
|
|
|
|
2024-12-30 10:15:34 +00:00
|
|
|
name 'ox_lib'
|
|
|
|
author 'Overextended'
|
|
|
|
version '3.27.0'
|
|
|
|
license 'LGPL-3.0-or-later'
|
|
|
|
repository 'https://github.com/overextended/ox_lib'
|
|
|
|
description 'A library of shared functions to utilise in other resources.'
|
2024-12-29 20:02:43 +00:00
|
|
|
|
|
|
|
dependencies {
|
2024-12-30 10:15:34 +00:00
|
|
|
'/server:7290',
|
2024-12-29 20:02:43 +00:00
|
|
|
'/onesync',
|
|
|
|
}
|
|
|
|
|
|
|
|
ui_page 'web/build/index.html'
|
|
|
|
|
|
|
|
files {
|
|
|
|
'init.lua',
|
2024-12-30 10:15:34 +00:00
|
|
|
'resource/settings.lua',
|
2024-12-29 20:02:43 +00:00
|
|
|
'imports/**/client.lua',
|
|
|
|
'imports/**/shared.lua',
|
|
|
|
'web/build/index.html',
|
|
|
|
'web/build/**/*',
|
2024-12-30 10:15:34 +00:00
|
|
|
'locales/*.json',
|
2024-12-29 20:02:43 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
shared_script 'resource/init.lua'
|
|
|
|
|
|
|
|
shared_scripts {
|
|
|
|
'resource/**/shared.lua',
|
|
|
|
-- 'resource/**/shared/*.lua'
|
|
|
|
}
|
|
|
|
|
|
|
|
client_scripts {
|
|
|
|
'resource/**/client.lua',
|
|
|
|
'resource/**/client/*.lua'
|
|
|
|
}
|
|
|
|
|
|
|
|
server_scripts {
|
2024-12-30 10:15:34 +00:00
|
|
|
'imports/callback/server.lua',
|
|
|
|
'imports/getFilesInDirectory/server.lua',
|
2024-12-29 20:02:43 +00:00
|
|
|
'resource/**/server.lua',
|
|
|
|
'resource/**/server/*.lua',
|
|
|
|
}
|