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
Raw Normal View History

2025-03-17 13:54:06 +01:00
---@return string
local GetFramework = function()
2025-03-17 18:03:20 +00:00
if GetResourceState('es_extended') ~= 'missing' then
2025-03-17 13:54:06 +01:00
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