update framework
This commit is contained in:
parent
4e93523115
commit
4de2931f58
5
.vscode/settings.json
vendored
Normal file
5
.vscode/settings.json
vendored
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
{
|
||||||
|
"Lua.diagnostics.globals": [
|
||||||
|
"CORE"
|
||||||
|
]
|
||||||
|
}
|
2
main.lua
2
main.lua
|
@ -3,6 +3,8 @@ if Config.Framework == 'esx' then
|
||||||
Framework = exports["es_extended"]:getSharedObject()
|
Framework = exports["es_extended"]:getSharedObject()
|
||||||
elseif Config.Framework == "qb" then
|
elseif Config.Framework == "qb" then
|
||||||
Framework = exports['qb-core']:GetCoreObject()
|
Framework = exports['qb-core']:GetCoreObject()
|
||||||
|
elseif Config.Framework == "ProjectStarboy" then
|
||||||
|
Framework = CORE
|
||||||
else
|
else
|
||||||
Framework = {}
|
Framework = {}
|
||||||
Framework.Functions = {}
|
Framework.Functions = {}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user