This repository has been archived on 2025-12-11. You can view files and clone it, but cannot push or open issues or pull requests.

25 lines
483 B
Lua

---@return string
local GetFramework = function()
if GetResourceState('es_extended') ~= 'missing' then
return 'esx'
elseif GetResourceState('qbx_core') ~= 'missing' then
return 'qbx'
elseif GetResourceState('qb-core') ~= 'missing' then
return 'qb'
elseif GetResourceState('ox_core') ~= 'missing' then
return 'ox'
else
return 'standalone'
end
end
---@type string
Framework = GetFramework() -- qb / esx /qbox /ox