update framework

This commit is contained in:
Lorraxs 2024-02-28 16:11:14 +07:00
parent 4e93523115
commit 4de2931f58
2 changed files with 7 additions and 0 deletions

5
.vscode/settings.json vendored Normal file
View File

@ -0,0 +1,5 @@
{
"Lua.diagnostics.globals": [
"CORE"
]
}

View File

@ -3,6 +3,8 @@ if Config.Framework == 'esx' then
Framework = exports["es_extended"]:getSharedObject()
elseif Config.Framework == "qb" then
Framework = exports['qb-core']:GetCoreObject()
elseif Config.Framework == "ProjectStarboy" then
Framework = CORE
else
Framework = {}
Framework.Functions = {}