1
0
Fork 0
forked from Simnation/Main
Main/resources/[carscripts]/community_bridge/modules/target/_default/init.lua
2025-08-06 16:37:06 +02:00

17 lines
No EOL
577 B
Lua

-- local Target = Require('modules/target/_default/init.lua')
local requiredModules = {
'modules/target/_default/client.lua',
'modules/target/qb-target/client.lua',
'modules/target/sleepless_interact/client.lua',
'modules/target/ox_target/client.lua'
}
local Module = nil
for _, path in pairs(requiredModules) do
local module = Require(path)
if module then
Module = module
end
end
return Module or error('No target module found. Please ensure you have one of the required target modules installed: ' .. table.concat(requiredModules, ', '))