1
0
Fork 0
forked from Simnation/Main
This commit is contained in:
Nordi98 2025-08-04 20:26:15 +02:00
parent 5a5b4b855d
commit f57a27b8df
152 changed files with 1554 additions and 0 deletions

View file

@ -0,0 +1,17 @@
QBCore, ESX = nil, nil
Framework = {
Client = {},
Server = {},
}
if (Config.Framework == "auto" and GetResourceState("qbx_core") == "started") or Config.Framework == "Qbox" then
Config.Framework = "Qbox"
elseif (Config.Framework == "auto" and GetResourceState("qb-core") == "started") or Config.Framework == "QBCore" then
QBCore = exports['qb-core']:GetCoreObject()
Config.Framework = "QBCore"
elseif (Config.Framework == "auto" and GetResourceState("es_extended") == "started") or Config.Framework == "ESX" then
ESX = exports["es_extended"]:getSharedObject()
Config.Framework = "ESX"
else
Config.Framework = "none"
end